Last active
October 22, 2019 09:20
-
-
Save paparaka/458c0886f82385f32a4084d04b7db1a8 to your computer and use it in GitHub Desktop.
Common commands for kubectl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change namespace: | |
kubectl config set-context --current --namespace= | |
# Run a Debug container. Remember to add namespace | |
kubectl run -it --rm --restart=Never alpine --image=alpine sh | |
## The in alpine run | |
apk add curl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment