Created
January 18, 2022 16:01
-
-
Save mmanylov-zz/1795831ade12341b3efb71900985b43f 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
# нужно поставить kubectl и kuebectx+kubens | |
kubectl get pod # Получить поды из текущего нейспейса | |
kubectl get pod -n <namespace > # Получить под из заданного неймспейса | |
kubectl exec -it {pod_name} bash # зайти внутрь контейнера с башем | |
kubectl logs {pod_name} # логи пода |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment