Created
July 4, 2015 20:33
-
-
Save szimek/df43fcddcf33342f5a1c to your computer and use it in GitHub Desktop.
Run bash on any API container
This file contains hidden or 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
$id = kubectl get pods | grep api | grep Running | head -n1 | cut -d' ' -f1 | |
kubectl exec $id -it bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment