Difference between revisions of "Kubectl describe pods"
Jump to navigation
Jump to search
(38 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | [[kubectl describe]] pods | ||
+ | [[kubectl describe pods -A]] | grep [[Unhealthy]] | ||
+ | [[kubectl describe pods (grep -w State)|kubectl describe pods]] | grep -w "[[State]]" | ||
+ | [[Waiting]], [[Running]] | ||
+ | kubectl describe pods | grep "[[Last State]]" | ||
+ | [[kubectl describe pods -A]] | ||
+ | [[kubectl describe pods -A]] | grep -w IP | ||
− | [[kubectl describe]] | + | [[kubectl describe pods -n kube-system aws-node]] |
− | + | == Examples == | |
− | + | * Example: [[kubernetes-dashboard]] in EKS: <code>[[kubectl describe pod my-release-kubernetes-dashboard]]</code> | |
− | + | * [[Example: Grafana in EKS]] | |
− | + | * [[Example: Redis in minikube]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | == Events == | ||
+ | .../... | ||
+ | Normal Pulled 7m50s (x4 over 9m12s) kubelet Container image "123243534.dkr.ecr.eu-central-1.amazonaws.com/your_proyect/elasticsearch:latest" [[already present on machine]] | ||
+ | Warning [[BackOff]] 4m32s (x23 over 9m11s) kubelet [[Back-off restarting failed container]] | ||
+ | Warning Failed 5m20s (x12 over 7m20s) kubelet [[Error: InvalidImageName]] | ||
+ | == Related == | ||
+ | * <code>[[kubectl get pods]]</code> | ||
+ | * <code>[[kubectl describe nodes]] | grep [[MemoryPressure]]</code> | ||
+ | * <code>[[Events]]</code> | ||
+ | * <code>[[Containers:]]</code> | ||
+ | * <code>[[Scheduled]], [[Pulling]], [[Pulled]], [[Created]], [[Started]], [[Unhealthy]], [[Killing]]</code> | ||
== See also == | == See also == | ||
− | * {{kubectl}} | + | * {{kubectl describe pods}} |
+ | * {{Pods}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 09:43, 1 May 2024
kubectl describe pods kubectl describe pods -A | grep Unhealthy kubectl describe pods | grep -w "State" Waiting, Running kubectl describe pods | grep "Last State" kubectl describe pods -A kubectl describe pods -A | grep -w IP
kubectl describe pods -n kube-system aws-node
Contents
Examples[edit]
- Example: kubernetes-dashboard in EKS:
kubectl describe pod my-release-kubernetes-dashboard
- Example: Grafana in EKS
- Example: Redis in minikube
Events[edit]
.../... Normal Pulled 7m50s (x4 over 9m12s) kubelet Container image "123243534.dkr.ecr.eu-central-1.amazonaws.com/your_proyect/elasticsearch:latest" already present on machine Warning BackOff 4m32s (x23 over 9m11s) kubelet Back-off restarting failed container
Warning Failed 5m20s (x12 over 7m20s) kubelet Error: InvalidImageName
Related[edit]
kubectl get pods
kubectl describe nodes | grep MemoryPressure
Events
Containers:
Scheduled, Pulling, Pulled, Created, Started, Unhealthy, Killing
See also[edit]
Advertising: