Move to debugging section: shell. (#3677)

This commit is contained in:
Steve Perry
2017-05-08 11:22:29 -07:00
committed by GitHub
parent 216856f0b9
commit eccd238b1c
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,6 @@ toc:
- title: Using the kubectl Command-Line
section:
- docs/tasks/kubectl/install.md
- docs/tasks/kubectl/get-shell-running-container.md
- title: Configuring Pods and Containers
section:
@@ -74,6 +73,7 @@ toc:
- title: Monitoring, Logging, and Debugging
section:
- docs/tasks/debug-application-cluster/get-shell-running-container.md
- docs/tasks/debug-application-cluster/monitor-node-health.md
- docs/tasks/debug-application-cluster/logging-stackdriver.md
- docs/tasks/debug-application-cluster/logging-elasticsearch-kibana.md
@@ -6,6 +6,8 @@ title: Getting a Shell to a Running Container
redirect_from:
- "/docs/user-guide/getting-into-containers/"
- "/docs/user-guide/getting-into-containers.html"
- "/docs/tasks/kubectl/get-shell-running-container/"
- "/docs/tasks/kubectl/get-shell-running-container.html"
---
{% capture overview %}
@@ -30,12 +32,12 @@ running Container.
In this exercise, you create a Pod that has one Container. The Container
runs the nginx image. Here is the configuration file for the Pod:
{% include code.html language="yaml" file="shell-demo.yaml" ghlink="/docs/tasks/kubectl/shell-demo.yaml" %}
{% include code.html language="yaml" file="shell-demo.yaml" ghlink="/docs/tasks/debug-application-cluster/shell-demo.yaml" %}
Create the Pod:
```shell
kubectl create -f https://k8s.io/docs/tasks/kubectl/shell-demo.yaml
kubectl create -f https://k8s.io/docs/tasks/debug-application-cluster/shell-demo.yaml
```
Verify that the Container is running: