From 216856f0b9530686e5a211ddb01554b001c626a3 Mon Sep 17 00:00:00 2001 From: Steve Perry Date: Mon, 8 May 2017 10:40:18 -0700 Subject: [PATCH] Change title. (#3663) --- _data/tasks.yml | 2 +- .../communicate-containers-same-pod-shared-volume.md} | 8 +++++--- .../two-container-pod.yaml | 0 3 files changed, 6 insertions(+), 4 deletions(-) rename docs/tasks/{configure-pod-container/communicate-containers-same-pod.md => access-application-cluster/communicate-containers-same-pod-shared-volume.md} (91%) rename docs/tasks/{configure-pod-container => access-application-cluster}/two-container-pod.yaml (100%) diff --git a/_data/tasks.yml b/_data/tasks.yml index 7d7ab56e4d..7634bf8722 100644 --- a/_data/tasks.yml +++ b/_data/tasks.yml @@ -21,7 +21,6 @@ toc: - docs/tasks/configure-pod-container/pull-image-private-registry.md - docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md - docs/tasks/configure-pod-container/assign-pods-nodes.md - - docs/tasks/configure-pod-container/communicate-containers-same-pod.md - docs/tasks/configure-pod-container/configure-pod-initialization.md - docs/tasks/configure-pod-container/attach-handler-lifecycle-event.md - docs/tasks/configure-pod-container/configure-pod-disruption-budget.md @@ -69,6 +68,7 @@ toc: - docs/tasks/access-application-cluster/create-external-load-balancer.md - docs/tasks/access-application-cluster/configure-cloud-provider-firewall.md - docs/tasks/access-application-cluster/list-all-running-container-images.md + - docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume.md - title: Configuring DNS for a Cluster path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/cluster-dns diff --git a/docs/tasks/configure-pod-container/communicate-containers-same-pod.md b/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume.md similarity index 91% rename from docs/tasks/configure-pod-container/communicate-containers-same-pod.md rename to docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume.md index 17fa0a068e..52bb8a536c 100644 --- a/docs/tasks/configure-pod-container/communicate-containers-same-pod.md +++ b/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume.md @@ -1,8 +1,10 @@ --- -title: Communicating Between Containers Running in the Same Pod +title: Communicating Between Containers in the Same Pod Using a Shared Volume redirect_from: - "/docs/user-guide/pods/multi-container/" - "/docs/user-guide/pods/multi-container.html" +- "docs/tasks/configure-pod-container/communicate-containers-same-pod/" +- "docs/tasks/configure-pod-container/communicate-containers-same-pod.html" --- {% capture overview %} @@ -28,7 +30,7 @@ In this exercise, you create a Pod that runs two Containers. The two containers share a Volume that they can use to communicate. Here is the configuration file for the Pod: -{% include code.html language="yaml" file="two-container-pod.yaml" ghlink="/docs/tasks/configure-pod-container/two-container-pod.yaml" %} +{% include code.html language="yaml" file="two-container-pod.yaml" ghlink="/docs/tasks/access-application-cluster/two-container-pod.yaml" %} In the configuration file, you can see that the Pod has a Volume named `shared-data`. @@ -45,7 +47,7 @@ directory of the nginx server. Create the Pod and the two Containers: - kubectl create -f http://k8s.io/docs/tasks/configure-pod-container/two-container-pod.yaml + kubectl create -f http://k8s.io/docs/tasks/access-application-cluster/two-container-pod.yaml View information about the Pod and the Containers: diff --git a/docs/tasks/configure-pod-container/two-container-pod.yaml b/docs/tasks/access-application-cluster/two-container-pod.yaml similarity index 100% rename from docs/tasks/configure-pod-container/two-container-pod.yaml rename to docs/tasks/access-application-cluster/two-container-pod.yaml