Skip to content

Instantly share code, notes, and snippets.

@paparaka
Last active October 22, 2019 09:20
Show Gist options
  • Save paparaka/458c0886f82385f32a4084d04b7db1a8 to your computer and use it in GitHub Desktop.
Save paparaka/458c0886f82385f32a4084d04b7db1a8 to your computer and use it in GitHub Desktop.
Common commands for kubectl
# 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