Difference between revisions of "Kubectl describe pods"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[kubectl describe pods -A]] | grep [[Unhealthy]]
 
  [[kubectl describe pods -A]] | grep [[Unhealthy]]
 
  [[kubectl describe pods (grep -w State)|kubectl describe pods]] | grep -w "[[State]]"
 
  [[kubectl describe pods (grep -w State)|kubectl describe pods]] | grep -w "[[State]]"
 +
  [[Waiting]], [[Running]]
 
  kubectl describe pods | grep "[[Last State]]"
 
  kubectl describe pods | grep "[[Last State]]"
 
  [[kubectl describe pods -A]]
 
  [[kubectl describe pods -A]]

Revision as of 13:02, 22 February 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

Examples

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

See also

Advertising: