Skip to content

fix: adjust the kubectl exec example #19148

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

Merged
merged 1 commit into from
Aug 4, 2025
Merged

Conversation

jdomeracki-coder
Copy link
Contributor

Current example fails since kubectl version 1.31:

$ kubectl exec -it deployment/coder /bin/bash -n coder
error: exec [POD] [COMMAND] is not supported anymore. Use exec [POD] -- [COMMAND] instead

The legacy syntax was removed in:
kubernetes/kubernetes#125437

@jdomeracki-coder jdomeracki-coder merged commit d05a15c into main Aug 4, 2025
33 checks passed
@jdomeracki-coder jdomeracki-coder deleted the kubectl-exec-doc-fix branch August 4, 2025 19:24
@github-actions github-actions bot locked and limited conversation to collaborators Aug 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants