-
-
Save zolo2hin/da74cb3f1ee166ee78e3defae6d11169 to your computer and use it in GitHub Desktop.
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
# Get pods in namespace | |
kubectl get pods -n rest | |
# SSH Pod | |
kubectl exec --stdin -n rest --tty pod-name -- /bin/sh | |
# установить my-cluster-name как контекст по умолчанию | |
kubectl config use-context my-cluster-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment