Created
October 19, 2017 13:25
-
-
Save jpswade/c6b28bf74995132198ee7c330ce3ea4b to your computer and use it in GitHub Desktop.
Kubenetes cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run a command on a pod with the name database. | |
kubectl exec -it $(kubectl get pods --selector=app=database -o=name | awk -F "/" '{print $2}') /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment