"Kubectl describe pods"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
 
5번째 줄: 5번째 줄:
;kubectl describe pods
;kubectl describe pods


<source lang='console'>
<syntaxhighlight lang='console'>
$ kubectl get pods
$ kubectl get pods
NAME                                  READY    STATUS    RESTARTS  AGE
NAME                                  READY    STATUS    RESTARTS  AGE
kubernetes-bootcamp-5dbf48f7d4-pwr7b  1/1      Running  0  21s
kubernetes-bootcamp-5dbf48f7d4-pwr7b  1/1      Running  0  21s
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
$ kubectl describe pods
$ kubectl describe pods
Name:          kubernetes-bootcamp-5c69669756-v2kr4
Name:          kubernetes-bootcamp-5c69669756-v2kr4
59번째 줄: 59번째 줄:
   Normal  Created                1m              kubelet, minikube  Created container
   Normal  Created                1m              kubelet, minikube  Created container
   Normal  Started                1m              kubelet, minikube  Started container
   Normal  Started                1m              kubelet, minikube  Started container
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2022년 3월 21일 (월) 17:42 기준 최신판

1 개요[ | ]

kubectl describe po
kubectl describe pod
kubectl describe pods
$ kubectl get pods
NAME                                   READY     STATUS    RESTARTS  AGE
kubernetes-bootcamp-5dbf48f7d4-pwr7b   1/1       Running   0  21s
$ kubectl describe pods
Name:           kubernetes-bootcamp-5c69669756-v2kr4
Namespace:      default
Node:           minikube/172.17.0.23
Start Time:     Thu, 11 Oct 2018 04:32:00 +0000
Labels:         pod-template-hash=1725225312
                run=kubernetes-bootcamp
Annotations:    <none>
Status:         Running
IP:             172.18.0.2
Controlled By:  ReplicaSet/kubernetes-bootcamp-5c69669756
Containers:
  kubernetes-bootcamp:
    Container ID:   docker://502faa6a99212d0677b30ea473830047936773cbc4b68762bffa39d194b63470
    Image:          gcr.io/google-samples/kubernetes-bootcamp:v1
    Image ID:       docker-pullable://gcr.io/google-samples/kubernetes-bootcamp@sha256:0d6b8ee63bb57c5f5b6156f446b3bc3b3c143d233037f3a2f00e279c8fcc64af
    Port:           8080/TCP
    Host Port:      0/TCP
    State:          Running
      Started:      Thu, 11 Oct 2018 04:32:01 +0000
    Ready:          True
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-g4nh5 (ro)
Conditions:
  Type           Status
  Initialized    True
  Ready          True
  PodScheduled   True
Volumes:
  default-token-g4nh5:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-g4nh5
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason                 Age              From               Message
  ----     ------                 ----             ----               -------
  Warning  FailedScheduling       1m (x4 over 1m)  default-scheduler  0/1 nodes are available: 1 node(s) were not ready.
  Normal   Scheduled              1m               default-scheduler  Successfully assigned kubernetes-bootcamp-5c69669756-v2kr4 to minikube
  Normal   SuccessfulMountVolume  1m               kubelet, minikube  MountVolume.SetUp succeeded for volume "default-token-g4nh5"
  Normal   Pulled                 1m               kubelet, minikube  Container image "gcr.io/google-samples/kubernetes-bootcamp:v1" already present on machine
  Normal   Created                1m               kubelet, minikube  Created container
  Normal   Started                1m               kubelet, minikube  Started container

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}