-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubectl create -f apache.json fails #75
Comments
similar issue and fix at projectatomic/adb-atomic-developer-bundle#76 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kubectl create -f apache.json
Error from server: error when creating "apache.json": Pod "apache-pod" is forbidden: no API token found for service account default/default, retry after the token is automatically created and added to the service account
dcbw found the reason for this. "ServiceAccount" needs to be removed from
/etc/kubernetes/apiserver
KUBE_ADMISSION_CONTROL="--admission-control=NamespaceLifecycle,NamespaceExists,LimitRanger,SecurityContextDeny,ResourceQuota"
systemctl restart kube-apiserver
and all is well
kubectl create -f apache.json
pods/apache-pod
The text was updated successfully, but these errors were encountered: