Editing Kubectl describe pod

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  [[kubectl describe]] pod YOUR_POD
+
  [[kubectl describe]] pod
[[kubectl describe]] pod YOUR_POD -n YOUR_NAMESPACE
 
* https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/
 
[[kubectl describe]] pod | grep -i start
 
[[kubectl describe]] pod | grep "Start Time"
 
 
 
 
 
* <code>[[kubectl logs]] yourpodname -c containername --previous</code>
 
  
  
Line 16: Line 9:
 
  Priority:      0
 
  Priority:      0
 
  Node:          ip-192-168-54-235.us-east-2.compute.internal/
 
  Node:          ip-192-168-54-235.us-east-2.compute.internal/
  [[Start Time]]:    Sun, 28 Nov 2021 21:31:50 +0300
+
  Start Time:    Sun, 28 Nov 2021 21:31:50 +0300
 
  Labels:        app.kubernetes.io/instance=grafana
 
  Labels:        app.kubernetes.io/instance=grafana
 
                 app.kubernetes.io/name=grafana
 
                 app.kubernetes.io/name=grafana
Line 26: Line 19:
 
                 kubernetes.io/psp: eks.privileged
 
                 kubernetes.io/psp: eks.privileged
 
  Status:        [[Failed]]
 
  Status:        [[Failed]]
  [[Reason:]]         Evicted
+
  Reason:        Evicted
 
  Message:        [[Pod The node had condition:]] [MemoryPressure].
 
  Message:        [[Pod The node had condition:]] [MemoryPressure].
 
  IP:
 
  IP:
Line 89: Line 82:
 
   Type    Reason                  Age                  From                    Message
 
   Type    Reason                  Age                  From                    Message
 
   ----    ------                  ----                  ----                    -------
 
   ----    ------                  ----                  ----                    -------
   Normal  Scheduled              15m                  default-scheduler        Successfully assigned YOUR-NAMESPACE/elasticsearch-master-0 to  ip-192-168-9-81.eu-central-1.compute.internal
+
   Normal  Scheduled              15m                  default-scheduler        Successfully assigned YOUR-NAMESAPCE/elasticsearch-master-0 to  ip-192-168-9-81.eu-central-1.compute.internal
 
   Normal  SuccessfulAttachVolume  15m                  attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-db941c9a-204a-4e66-aa7b-f776dfc892dc"
 
   Normal  SuccessfulAttachVolume  15m                  attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-db941c9a-204a-4e66-aa7b-f776dfc892dc"
 
   Normal  Pulling                13m (x4 over 14m)    kubelet                  Pulling image "123456789.dkr.ecr.eu-central-1.amazonaws.com/your_project/elasticsearch:v0.6"
 
   Normal  Pulling                13m (x4 over 14m)    kubelet                  Pulling image "123456789.dkr.ecr.eu-central-1.amazonaws.com/your_project/elasticsearch:v0.6"
     Warning  Failed                  13m (x4 over 14m)    kubelet                  Failed to pull image "123456789.dkr.ecr.eu-central- 1.amazonaws.com/your_project/elasticsearch:v0.6": rpc error: code = Unknown desc = Error response from daemon: manifest for 123456789.dkr.ecr.eu-central-1.amazonaws.com/your_project/elasticsearch:v0.6 not found: manifest unknown: [[Requested image not found]]
+
     Warning  Failed                  13m (x4 over 14m)    kubelet                  Failed to pull image "123456789.dkr.ecr.eu-central- 1.amazonaws.com/your_project/elasticsearch:v0.6": rpc error: code = Unknown desc = Error response from daemon: manifest for 550886787118.dkr.ecr.eu-central-1.amazonaws.com/efi/elasticsearch:v0.6 not found: manifest unknown: Requested image not found
 
   Warning  Failed                  13m (x4 over 14m)    kubelet                  Error: ErrImagePull
 
   Warning  Failed                  13m (x4 over 14m)    kubelet                  Error: ErrImagePull
 
   Warning  Failed                  13m (x6 over 14m)    kubelet                  Error: [[ImagePullBackOff]]
 
   Warning  Failed                  13m (x6 over 14m)    kubelet                  Error: [[ImagePullBackOff]]
 
   Normal  BackOff                4m50s (x43 over 14m)  kubelet                  Back-off pulling image "123456789.dkr.ecr.eu-central- 1.amazonaws.com/your_project/elasticsearch:v0.6"
 
   Normal  BackOff                4m50s (x43 over 14m)  kubelet                  Back-off pulling image "123456789.dkr.ecr.eu-central- 1.amazonaws.com/your_project/elasticsearch:v0.6"
 
 
Events
 
  Normal  Pulling                6m46s (x4 over 8m18s)  kubelet                  Pulling image "550886787118.dkr.ecr.eu-central-1.amazonaws.com/ef/elasticsearch:v0.6"
 
  Warning  Failed                  6m46s (x4 over 8m18s)  kubelet                  Failed to pull image "123456789.dkr.ecr.eu-central-1.amazonaws.com/ef/elasticsearch:v0.6": rpc error: code = Unknown desc = Error response from daemon: repository 123456789.dkr.ecr.eu-central-1.amazonaws.com/ef/elasticsearch not found: name unknown: [[The repository with name]] 'your-project/elasticsearch' [[does not exist in the registry]] with id '123456789'
 
  Warning  Failed                  6m46s (x4 over 8m18s)  kubelet                  Error: ErrImagePull
 
  Warning  Failed                  6m33s (x6 over 8m17s)  kubelet                  Error: ImagePullBackOff
 
 
== News ==
 
* [[v1.25]] Aug 2022 Added Service Account field in the output of kubectl describe pod command
 
 
 
  
 
== Related ==
 
== Related ==
* <code>[[kubectl get pod]]</code>
+
* <code>[[kubectl get]]</code>
* <code>[[kubectl get events]]</code>
 
  
 
== See also ==
 
== See also ==
* {{kubectl describe}}
+
* {{kubectl}}
 
* {{kubectl info}}
 
* {{kubectl info}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: