daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Oct 12th, 2017 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## Exec into a pod
  2. `kubectl exec POD_NAME --namespace=NAMESPACE -i -t -- sh`
  3.  
  4. ## Get a configmap
  5.  
  6.  
  7. Linux:
  8. ```
  9. kubectl get configmaps SERVICE -o yaml --namespace=NAMESPACE |  sed 's/\\n/\n/g'
  10. ```
  11.  
  12. Osx:
  13. ```
  14. kubectl get configmaps SERVICE -o yaml --namespace=NAMESPACE | sed 's/\\n/\
  15. /g'
  16. ```
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
 
Top