Slide 60
Slide 60 text
3. Get the description of pod
$ kubectl describe pod myapp-pod
Name: myapp-pod
Namespace: default
Priority: 0
PriorityClassName:
Node: k8slab/10.0.2.15
Start Time: Mon, 31 Dec 2018 17:30:58 +0000
Labels: app=myapp
Annotations:
Status: Running
IP: 10.244.0.6
...
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 5m49s default-scheduler Successfully assigned
default/myapp-pod to k8slab
Normal Pulling 5m48s kubelet, k8slab pulling image "busybox"
Normal Pulled 5m43s kubelet, k8slab Successfully pulled image "busybox"
Normal Created 5m43s kubelet, k8slab Created container
Normal Started 5m43s kubelet, k8slab Started container
Pod (Cont.)
60
● Pods
● Deployments
● DaemonSets