Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  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. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement