Skip to content
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

ACTION REQUIRED for MountPropagation feature #61126

Closed
wants to merge 1 commit into from

Conversation

andrewsykim
Copy link
Member

@andrewsykim andrewsykim commented Mar 13, 2018

Update CHANGELOG re: #61058.

Wasn't sure if these docs are autogenerated.

ACTION REQUIRED: MountPropagation feature is now beta. As a result, all volume mounts in containers are now "rslave" on Linux by default. Any host paths that is not a `rslave` mount or a `rshared` mount will not work. On Linux, you can ensure that mounts are of type `rshared` by running `mount --make-rshared /path/to/mount`, otherwise set `MountPropagation=false` on the kubelet `--feature-gates` flag. ([#59252](https://github.com/kubernetes/kubernetes/pull/59252), [@jsafrane](https://

@k8s-ci-robot k8s-ci-robot added release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. retest-not-required-docs-only size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 13, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: andrewsykim
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: lavalamp

Assign the PR to them by writing /assign @lavalamp in a comment when ready.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -176,6 +176,7 @@ filename | sha256 hash
* action required: kube-proxy: feature gates are now specified as a map when provided via a JSON or YAML KubeProxyConfiguration, rather than as a string of key-value pairs. ([#57962](https://github.com/kubernetes/kubernetes/pull/57962), [@xiangpengzhao](https://github.com/xiangpengzhao))
* Action Required: The boostrapped RBAC role and rolebinding for the `cloud-provider` service account is now deprecated. If you're currently using this service account, you must create and apply your own RBAC policy for new clusters. ([#59949](https://github.com/kubernetes/kubernetes/pull/59949), [@nicksardo](https://github.com/nicksardo))
* ACTION REQUIRED: VolumeScheduling and LocalPersistentVolume features are beta and enabled by default. The PersistentVolume NodeAffinity alpha annotation is deprecated and will be removed in a future release. ([#59391](https://github.com/kubernetes/kubernetes/pull/59391), [@msau42](https://github.com/msau42))
* ACTION REQUIRED: MountPropagation feature is now beta. As a result, all volume mounts in containers are now "rslave" on Linux by default. Any host paths that is not a `rslave` mount or a `rshared` mount will not work. On Linux, you can ensure that mounts are of type `rshared` by running `mount --make-rshared /path/to/mount`, otherwise set `MountPropagation=false` on the kubelet `--feature-gates` flag. ([#59252](https://github.com/kubernetes/kubernetes/pull/59252), [@jsafrane](https://github.com/jsafrane))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think this is accurate. This should read - "MountPropagation feature is now beta. As a result, all volume mounts in containers are now "rslave" on Linux by default. To make this default work in all Linux environments- you should have entire mount tree marked as shareable via mount --make-rshared / . All Linux distributions that use systemd already have root directory mounted as rshared and hence they need not do anything. In Linux environments without systemd we also recommend restarting docker daemon after marking root directory as rshared"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update, thanks :). It seems this is a required feature for CSI, is that worth mentioning here too?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can leave it as it is. The CSI docs will cover this requirement in detail.

@cblecker
Copy link
Member

cc @nickchase @jdumars

I'm not sure this is the right place for this update. CC'ing the release notes lead

@jdumars
Copy link
Member

jdumars commented Mar 13, 2018

Good catch. This should not be merged. The details will go into the release notes draft.

@jdumars jdumars added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Mar 13, 2018
@andrewsykim
Copy link
Member Author

I left a referene to this PR in the release notes draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants