Skip to content

Commit 2db385c

Browse files
committed
change content_template to task from concept
1 parent f31fa3c commit 2db385c

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

content/en/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md

+20-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
---
22
reviewers:
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+
1027
The first step in debugging a pod is taking a look at it. Check the current
1128
state of the pod and recent events with the following command:
1229

@@ -19,12 +36,6 @@ there been recent restarts?
1936

2037
Continue 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

3041
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.
117128

118129
ReplicationControllers are fairly straightforward. They can either create pods
119130
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.
121132

122133
You can also use `kubectl describe rc ${CONTROLLER_NAME}` to inspect events
123134
related to the replication controller.

0 commit comments

Comments
 (0)