Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Exec into a pod
- `kubectl exec POD_NAME --namespace=NAMESPACE -i -t -- sh`
- ## Get a configmap
- Linux:
- ```
- kubectl get configmaps SERVICE -o yaml --namespace=NAMESPACE | sed 's/\\n/\n/g'
- ```
- Osx:
- ```
- kubectl get configmaps SERVICE -o yaml --namespace=NAMESPACE | sed 's/\\n/\
- /g'
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement