You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: