Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Update kubernetes version and support mount propagation #218

Merged
merged 1 commit into from
Sep 7, 2017

Conversation

miaoyq
Copy link
Member

@miaoyq miaoyq commented Sep 6, 2017

fixes #185

/cc @Random-Liu

Signed-off-by: Yanqiang Miao [email protected]

Copy link
Member

@Random-Liu Random-Liu left a comment

Choose a reason for hiding this comment

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

LGTM with one small nit. Ready to merge after nit addressed.

case runtime.MountPropagation_PROPAGATION_HOST_TO_CONTAINER:
options = append(options, "rslave")
default:
glog.Warningf("unknown propagation mode for hostPath %q", mount.HostPath)
Copy link
Member

Choose a reason for hiding this comment

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

nit: s/unknown/Unknown

Log should start with capitalized letter. :)

Copy link
Member Author

Choose a reason for hiding this comment

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

@Random-Liu Thank for review, Done.

@Random-Liu
Copy link
Member

Based on the comment kubernetes/kubernetes#46444 (comment), there will be a conformance test for mount propagation. Please make sure we enable that conformance test in our node e2e after they add it. :)

@Random-Liu
Copy link
Member

@miaoyq Could you add a CRI validation test for this? kubernetes-sigs/cri-tools#131

Just mount in container and host, and check whether the visibility of the mounts in different mode. :)

@miaoyq
Copy link
Member Author

miaoyq commented Sep 7, 2017

@miaoyq Could you add a CRI validation test for this? kubernetes-sigs/cri-tools#131

Just mount in container and host, and check whether the visibility of the mounts in different mode. :)

I will work for this. : )

fixex containerd#185

Signed-off-by: Yanqiang Miao <[email protected]>
@Random-Liu
Copy link
Member

LGTM, will merge after test passes.

@Random-Liu Random-Liu added the lgtm label Sep 7, 2017
@Random-Liu
Copy link
Member

The test has passed, I don't know why the label is still yellow. Merge anyway.

@Random-Liu Random-Liu merged commit 3e4b423 into containerd:master Sep 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support mount propagation.
3 participants