Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Volume multi-mount support - #329

Merged
laijs merged 2 commits into
hyperhq:masterfrom
bergwolf:multi_mount
Sep 18, 2016
Merged

laijs merged 2 commits into
hyperhq:masterfrom
bergwolf:multi_mount

Conversation

@bergwolf

Copy link
Copy Markdown
Member

Change runv to allow a volume to be mounted to different mountpoints in a pod.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
make volume mountpoint in a container a slice so that we can
save multiple mountpoints to it rather than assuming there is
only one mountpoint of same device in a container.

Do the same to volume readOnly field.

With both above, we create multiple entries in a container's fsmap
when a volume is mounted at different mountpoints.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
@laijs
laijs merged commit 767bcc9 into hyperhq:master Sep 18, 2016
@gnawux gnawux mentioned this pull request Nov 17, 2016
@bergwolf
bergwolf deleted the multi_mount branch March 23, 2017 06:04
harche pushed a commit to harche/runv that referenced this pull request Nov 28, 2017
Setup /dev/shm for the initial namespace
jimoosciuc pushed a commit to jimoosciuc/runv that referenced this pull request May 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants