Change title. (#3663)

This commit is contained in:
Steve Perry
2017-05-08 10:40:18 -07:00
committed by GitHub
parent 563241c4e5
commit 216856f0b9
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,6 @@ toc:
- docs/tasks/configure-pod-container/pull-image-private-registry.md - 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/configure-liveness-readiness-probes.md
- docs/tasks/configure-pod-container/assign-pods-nodes.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/configure-pod-initialization.md
- docs/tasks/configure-pod-container/attach-handler-lifecycle-event.md - docs/tasks/configure-pod-container/attach-handler-lifecycle-event.md
- docs/tasks/configure-pod-container/configure-pod-disruption-budget.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/create-external-load-balancer.md
- docs/tasks/access-application-cluster/configure-cloud-provider-firewall.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/list-all-running-container-images.md
- docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume.md
- title: Configuring DNS for a Cluster - title: Configuring DNS for a Cluster
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/cluster-dns path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/cluster-dns
@@ -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: redirect_from:
- "/docs/user-guide/pods/multi-container/" - "/docs/user-guide/pods/multi-container/"
- "/docs/user-guide/pods/multi-container.html" - "/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 %} {% 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 share a Volume that they can use to communicate. Here is the configuration file
for the Pod: 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 In the configuration file, you can see that the Pod has a Volume named
`shared-data`. `shared-data`.
@@ -45,7 +47,7 @@ directory of the nginx server.
Create the Pod and the two Containers: 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: View information about the Pod and the Containers: