File tree 1 file changed +20
-9
lines changed
content/en/docs/tasks/debug-application-cluster
1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
reviewers :
3
3
- bprashanth
4
- title : Debug Pods and Replication Controllers
5
- content_template : templates/concept
4
+ title : Debug Pods and ReplicationControllers
5
+ content_template : templates/task
6
6
---
7
7
8
8
{{% capture overview %}}
9
9
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
+
10
27
The first step in debugging a pod is taking a look at it. Check the current
11
28
state of the pod and recent events with the following command:
12
29
@@ -19,12 +36,6 @@ there been recent restarts?
19
36
20
37
Continue debugging depending on the state of the pods.
21
38
22
- {{% /capture %}}
23
-
24
- {{< toc >}}
25
-
26
- {{% capture body %}}
27
-
28
39
### My pod stays pending
29
40
30
41
If 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.
117
128
118
129
ReplicationControllers are fairly straightforward. They can either create pods
119
130
or 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.
121
132
122
133
You can also use ` kubectl describe rc ${CONTROLLER_NAME} ` to inspect events
123
134
related to the replication controller.
You can’t perform that action at this time.
0 commit comments