Difference between revisions of "Kubectl describe pods"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
  [[kubectl describe]] pods
 
  [[kubectl describe]] pods
  kubectl describe pods | 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]]
 +
[[kubectl describe pods -A]] | grep -w IP
 +
 +
[[kubectl describe pods -n kube-system aws-node]]
  
 
== Examples ==
 
== Examples ==
Line 15: Line 19:
 
   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]]
 
   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  [[BackOff]]                4m32s (x23 over 9m11s)  kubelet                  [[Back-off restarting failed container]]
 +
 +
  Warning  Failed        5m20s (x12 over 7m20s)  kubelet            [[Error: InvalidImageName]]
  
 
== Related ==
 
== Related ==
 
* <code>[[kubectl get pods]]</code>
 
* <code>[[kubectl get pods]]</code>
 
* <code>[[kubectl describe nodes]] | grep [[MemoryPressure]]</code>
 
* <code>[[kubectl describe nodes]] | grep [[MemoryPressure]]</code>
* [[Events]]
+
* <code>[[Events]]</code>
 
* <code>[[Containers:]]</code>
 
* <code>[[Containers:]]</code>
 +
* <code>[[Scheduled]], [[Pulling]], [[Pulled]], [[Created]], [[Started]], [[Unhealthy]], [[Killing]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 09:43, 1 May 2024

Advertising: