Skip to content

Commit 32be09b

Browse files
author
Tim Bannister
committed
Revise caption for multi-container example
What's being illustrated here is a volume that has the same lifecycle as a Pod, so: - don't use a PersistentVolume as the example - highlight that the file puller is a sidecar and give this aspect of the page its own heading.
1 parent 4c7acca commit 32be09b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

content/en/docs/concepts/workloads/pods/pod-lifecycle.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,16 @@ A given Pod (as defined by a UID) is never "rescheduled" to a different node; in
4848
that Pod can be replaced by a new, near-identical Pod, with even the same name if
4949
desired, but with a different UID.
5050

51+
### Associated lifetimes
52+
5153
When something is said to have the same lifetime as a Pod, such as a
5254
{{< glossary_tooltip term_id="volume" text="volume" >}},
5355
that means that the thing exists as long as that specific Pod (with that exact UID)
5456
exists. If that Pod is deleted for any reason, and even if an identical replacement
5557
is created, the related thing (a volume, in this example) is also destroyed and
5658
created anew.
5759

58-
{{< figure src="/images/docs/pod.svg" title="Pod diagram" class="diagram-medium" >}}
59-
60-
A multi-container Pod that contains a file puller and a
61-
web server that uses a persistent volume for shared storage between the containers.
60+
{{< figure src="/images/docs/pod.svg" title="Figure 1." class="diagram-medium" caption="A multi-container Pod that contains a file puller [sidecar](/docs/concepts/workloads/pods/sidecar-containers/) and a web server. The Pod uses an [ephemeral `emptyDir` volume](/docs/concepts/storage/volumes/#emptydir) for shared storage between the containers." >}}
6261

6362
## Pod phase
6463

0 commit comments

Comments
 (0)