Update mount propagation documentation

Mount propagation only works consistently on hostPath and in-memory emptyDir.
pull/47645/head
Matt Cary 2024-08-22 11:56:16 -07:00 committed by Matthew Cary
parent a9ccf39931
commit 3872831bf1
1 changed files with 7 additions and 0 deletions

View File

@ -1197,6 +1197,13 @@ Users of FlexVolume should move their workloads to use the equivalent CSI Driver
## Mount propagation
{{< caution >}}
Mount propagation is a low-level feature that does not work consistently on all
volume types. It is recommended to use only with `hostPath` or in-memory `emptyDir`
volumes. See [this discussion](https://github.com/kubernetes/kubernetes/issues/95049)
for more context.
{{< /caution >}}
Mount propagation allows for sharing volumes mounted by a container to
other containers in the same pod, or even to other pods on the same node.