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
Running kubectl exec-as -u root -n default -c istio-proxy -d sleep-db7f48c4-spbgw -- /bin/bash command throws below error
The Pod "kishor-1" is invalid: spec.containers[0].restartPolicy: Forbidden: may not be set for non-init containers
The text was updated successfully, but these errors were encountered:
kishor7007
changed the title
The Pod "kishor-1" is invalid: spec.containers[0].restartPolicy: Forbidden: may not be set for non-init containers
The Pod is invalid: spec.containers[0].restartPolicy: Forbidden: may not be set for non-init containers
Sep 27, 2024
The same issue for me:
kubectl exec-as -u root -n dev -c backend -d backend-77bffd84b-66hzg -- /bin/bash
The Pod "dvg-1" is invalid: spec.containers[0].restartPolicy: Forbidden: may not be set for non-init containers
Running kubectl exec-as -u root -n default -c istio-proxy -d sleep-db7f48c4-spbgw -- /bin/bash command throws below error
The Pod "kishor-1" is invalid: spec.containers[0].restartPolicy: Forbidden: may not be set for non-init containers
The text was updated successfully, but these errors were encountered: