SHARE
TWEET

Untitled

a guest Aug 20th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Kubectl Cheatsheet
  2.  
  3. ## Contexts
  4.  
  5. * Get current context
  6.  
  7. ```bash
  8. $ kubectl config current-context
  9. ```
  10.  
  11. ## Namespaces
  12.  
  13. ```bash
  14. $ kubectl config set-context $(kubectl config current-context) --namespace=demo
  15. ```
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top