-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update mount propagation documentation #47645
Conversation
/lgtm |
LGTM label has been added. Git tree hash: dd6262f6002f084711f9f39b7ca6dc5b55f03f60
|
cc @jsafrane |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -1247,6 +1247,13 @@ in `containers[*].volumeMounts`. Its values are: | |||
(unmounted) by the containers on termination. | |||
{{< /warning >}} | |||
|
|||
{{< warning >}} | |||
Mount propagation is a low-level feature that does not work consistently on all | |||
volume types. We recommend using it only with `hostPath` or in-memory `emptyDir` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, is it specifically in-memory emptydir, or any emptydir type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've used it with in-memory emptydir. I think it should work with any type, but do others have an experience?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: avoid using “we“
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I recommend a couple of tweaks, but this could merge as-is.
@@ -1247,6 +1247,13 @@ in `containers[*].volumeMounts`. Its values are: | |||
(unmounted) by the containers on termination. | |||
{{< /warning >}} | |||
|
|||
{{< warning >}} | |||
Mount propagation is a low-level feature that does not work consistently on all | |||
volume types. We recommend using it only with `hostPath` or in-memory `emptyDir` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: avoid using “we“
@@ -1247,6 +1247,13 @@ in `containers[*].volumeMounts`. Its values are: | |||
(unmounted) by the containers on termination. | |||
{{< /warning >}} | |||
|
|||
{{< warning >}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd use a caution here, not a warning. But also, I'd move this to the start of the section, just under the heading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
lgtm from the storage perspective |
@mattcary, are you able to address Tim's suggestions? I am also happy to approve this as-is, but would prefer the "we" replaced if you have the time. |
Mount propagation only works consistently on hostPath and in-memory emptyDir.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've addressed the comments. Sorry for the delay, I had made this in-line in git but updating the commit in git codespaces crashed and burned.
@@ -1247,6 +1247,13 @@ in `containers[*].volumeMounts`. Its values are: | |||
(unmounted) by the containers on termination. | |||
{{< /warning >}} | |||
|
|||
{{< warning >}} | |||
Mount propagation is a low-level feature that does not work consistently on all | |||
volume types. We recommend using it only with `hostPath` or in-memory `emptyDir` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -1247,6 +1247,13 @@ in `containers[*].volumeMounts`. Its values are: | |||
(unmounted) by the containers on termination. | |||
{{< /warning >}} | |||
|
|||
{{< warning >}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
/lgtm |
LGTM label has been added. Git tree hash: c6d03508ee6bcfd8de6482b3d4125883f505fab3
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: reylejano The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Mount propagation only works consistently on hostPath and in-memory emptyDir.
Issue
See kubernetes/kubernetes#95049 for more context.
/sig storage
/assign @msau42