From eccd238b1c39ff2c7cd108f4515507d669a5b55f Mon Sep 17 00:00:00 2001 From: Steve Perry Date: Mon, 8 May 2017 11:22:29 -0700 Subject: [PATCH] Move to debugging section: shell. (#3677) --- _data/tasks.yml | 2 +- .../get-shell-running-container.md | 6 ++++-- .../{kubectl => debug-application-cluster}/shell-demo.yaml | 0 3 files changed, 5 insertions(+), 3 deletions(-) rename docs/tasks/{kubectl => debug-application-cluster}/get-shell-running-container.md (92%) rename docs/tasks/{kubectl => debug-application-cluster}/shell-demo.yaml (100%) diff --git a/_data/tasks.yml b/_data/tasks.yml index 7634bf8722..1b90d6334c 100644 --- a/_data/tasks.yml +++ b/_data/tasks.yml @@ -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 diff --git a/docs/tasks/kubectl/get-shell-running-container.md b/docs/tasks/debug-application-cluster/get-shell-running-container.md similarity index 92% rename from docs/tasks/kubectl/get-shell-running-container.md rename to docs/tasks/debug-application-cluster/get-shell-running-container.md index 69065ab206..69791b62b3 100644 --- a/docs/tasks/kubectl/get-shell-running-container.md +++ b/docs/tasks/debug-application-cluster/get-shell-running-container.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: diff --git a/docs/tasks/kubectl/shell-demo.yaml b/docs/tasks/debug-application-cluster/shell-demo.yaml similarity index 100% rename from docs/tasks/kubectl/shell-demo.yaml rename to docs/tasks/debug-application-cluster/shell-demo.yaml