Difference between revisions of "Kubectl describe pods"
Jump to navigation
Jump to search
(Created page with " kubectl describe pods == See also == * {{kubectl}} Category:K8s") |
|||
Line 1: | Line 1: | ||
[[kubectl describe]] pods | [[kubectl describe]] pods | ||
+ | |||
+ | <pre> | ||
+ | kubectl describe pod | ||
+ | Name: redis | ||
+ | Namespace: default | ||
+ | Priority: 0 | ||
+ | Node: minikube/192.168.99.100 | ||
+ | Start Time: Sat, 17 Jul 2021 20:07:06 +0400 | ||
+ | Labels: <none> | ||
+ | Annotations: <none> | ||
+ | Status: Running | ||
+ | IP: 172.17.0.5 | ||
+ | IPs: | ||
+ | IP: 172.17.0.5 | ||
+ | Containers: | ||
+ | redis: | ||
+ | Container ID: docker://f1bf24ad3f84de2d7bdd6a6d734d8f8b051c99ab7b138abfcdfd6af2283c4116 | ||
+ | Image: redis | ||
+ | Image ID: docker-pullable://redis@sha256:b6a9fc3535388a6fc04f3bdb83fb4d9d0b4ffd85e7609a6ff2f0f731427823e3 | ||
+ | Port: <none> | ||
+ | Host Port: <none> | ||
+ | State: Running | ||
+ | Started: Sat, 17 Jul 2021 20:07:42 +0400 | ||
+ | Ready: True | ||
+ | Restart Count: 0 | ||
+ | Environment: <none> | ||
+ | Mounts: | ||
+ | /data/redis from redis-storage (rw) | ||
+ | /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-sck6w (ro) | ||
+ | Conditions: | ||
+ | Type Status | ||
+ | Initialized True | ||
+ | Ready True | ||
+ | ContainersReady True | ||
+ | PodScheduled True | ||
+ | Volumes: | ||
+ | redis-storage: | ||
+ | Type: EmptyDir (a temporary directory that shares a pod's lifetime) | ||
+ | Medium: | ||
+ | SizeLimit: <unset> | ||
+ | kube-api-access-sck6w: | ||
+ | Type: Projected (a volume that contains injected data from multiple sources) | ||
+ | TokenExpirationSeconds: 3607 | ||
+ | ConfigMapName: kube-root-ca.crt | ||
+ | ConfigMapOptional: <nil> | ||
+ | DownwardAPI: true | ||
+ | QoS Class: BestEffort | ||
+ | Node-Selectors: <none> | ||
+ | Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s | ||
+ | node.kubernetes.io/unreachable:NoExecute op=Exists for 300s | ||
+ | Events: <none> | ||
+ | </pre> | ||
+ | |||
+ | |||
Revision as of 17:11, 17 July 2021
kubectl describe pods
kubectl describe pod Name: redis Namespace: default Priority: 0 Node: minikube/192.168.99.100 Start Time: Sat, 17 Jul 2021 20:07:06 +0400 Labels: <none> Annotations: <none> Status: Running IP: 172.17.0.5 IPs: IP: 172.17.0.5 Containers: redis: Container ID: docker://f1bf24ad3f84de2d7bdd6a6d734d8f8b051c99ab7b138abfcdfd6af2283c4116 Image: redis Image ID: docker-pullable://redis@sha256:b6a9fc3535388a6fc04f3bdb83fb4d9d0b4ffd85e7609a6ff2f0f731427823e3 Port: <none> Host Port: <none> State: Running Started: Sat, 17 Jul 2021 20:07:42 +0400 Ready: True Restart Count: 0 Environment: <none> Mounts: /data/redis from redis-storage (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-sck6w (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: redis-storage: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: SizeLimit: <unset> kube-api-access-sck6w: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: <nil> DownwardAPI: true QoS Class: BestEffort Node-Selectors: <none> Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: <none>
See also
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: