Skip to content

Instantly share code, notes, and snippets.

@xsqian
Created September 18, 2021 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xsqian/dc7c0dc9b76f64cd3939a5f697987d17 to your computer and use it in GitHub Desktop.
Save xsqian/dc7c0dc9b76f64cd3939a5f697987d17 to your computer and use it in GitHub Desktop.
set the default namespace for kubectl
kubectl config set-context --current --namespace=namepsace_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment