Difference between revisions of "Kubectl describe pods"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 2: Line 2:
 
  [[kubectl describe]] pods
 
  [[kubectl describe]] pods
 
  kubectl describe pods | grep [[Unhealthy]]
 
  kubectl describe pods | grep [[Unhealthy]]
  kubectl describe pods | grep -w "[[State]]"
+
  [[kubectl describe pods (grep -w State)|kubectl describe pods]] | grep -w "[[State]]"
 
  kubectl describe pods | grep "[[Last State]]"
 
  kubectl describe pods | grep "[[Last State]]"
 
  [[kubectl describe pods -A]]
 
  [[kubectl describe pods -A]]

Revision as of 16:48, 7 March 2023

kubectl describe pods
kubectl describe pods | grep Unhealthy
kubectl describe pods | grep -w "State"
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

Related

See also

Advertising: