Skip to content

Instantly share code, notes, and snippets.

@rupinus85
Created January 10, 2019 08:03
Show Gist options
  • Save rupinus85/b470a66395dc624957cf6d6debfc4122 to your computer and use it in GitHub Desktop.
Save rupinus85/b470a66395dc624957cf6d6debfc4122 to your computer and use it in GitHub Desktop.
# pod name 알아내기
$ kubectl get pod
NAME READY STATUS RESTARTS AGE
gs-spring-boot-docker-deployment-56fb494f67-g2lwr 1/1 Running 0 3h
# pod name을 이용하여, kubectl describe
$ kubectl describe pod gs-spring-boot-docker-deployment-56fb494f67-g2lwr
Name: gs-spring-boot-docker-deployment-56fb494f67-g2lwr
Namespace: default
Node: poc.k8s-worker01.cloudz.co.kr/169.56.109.58
... (생략)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment