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
a lot of the kubectl debug examples seem to cover the case where the pod name and container name are the same which can be confusing. But the --target is actually the containerName (and you likely used the pod name instead - the error is simply saying the container itself cannot be found in the specified pod). kubectl get pods POD -ojsonpath='{.spec.containers[*].name}' should show the names of the containers in the pods.
Getting this error attaching to a node-based pod
spec.ephemeralContainers[0].targetContainerName: Not found
What can I do to debug this further?
The text was updated successfully, but these errors were encountered: