File tree Expand file tree Collapse file tree
content/en/docs/tasks/debug-application-cluster Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22reviewers :
33- bprashanth
4- title : Debug Pods and Replication Controllers
5- content_template : templates/concept
4+ title : Debug Pods and ReplicationControllers
5+ content_template : templates/task
66---
77
88{{% capture overview %}}
99
10+ This page shows how to debug Pods and ReplicationControllers.
11+
12+ {{% /capture %}}
13+
14+ {{% capture prerequisites %}}
15+
16+ {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
17+
18+ * You should be familiar with the basics of
19+ [ Pods] ( /docs/concepts/workloads/pods/pod/ ) and [ Pod Lifecycle] ( /docs/concepts/workloads/pods/pod-lifecycle/ ) .
20+
21+ {{% /capture %}}
22+
23+ {{% capture steps %}}
24+
25+ ## Debugging Pods
26+
1027The first step in debugging a pod is taking a look at it. Check the current
1128state of the pod and recent events with the following command:
1229
@@ -19,12 +36,6 @@ there been recent restarts?
1936
2037Continue debugging depending on the state of the pods.
2138
22- {{% /capture %}}
23-
24- {{< toc >}}
25-
26- {{% capture body %}}
27-
2839### My pod stays pending
2940
3041If a pod is stuck in ` Pending ` it means that it can not be scheduled onto a
@@ -117,7 +128,7 @@ running on and SSH into that host.
117128
118129ReplicationControllers are fairly straightforward. They can either create pods
119130or they can' t. If they can' t create pods, then please refer to the
120- [instructions above](# debugging_pods ) to debug your pods.
131+ [instructions above](# debugging-pods ) to debug your pods.
121132
122133You can also use ` kubectl describe rc ${CONTROLLER_NAME} ` to inspect events
123134related to the replication controller.
You can’t perform that action at this time.
0 commit comments