Skip to content

MountPropagation breaks Kubernetes on macOS #62397

Closed
@jsafrane

Description

/kind bug

There is no way you can run the mount --make-rshared / in Docker VM and the shared folders use fuse.osxfs and are dynamically mounted into containers.

Adventurous macOS users must run Kubernetes with MountPropagation=false flag. This is OK for now, but the flag will be removed when the feature reaches GA.

There are few options we can do:

  • Detect darwin in kubelet and turn off the feature silently, even after removal of MountPropagation feature.
  • Rework the feature to default to private mount propagation, either everywhere or on darwin. All "old" pods would run until user runs a pod with explicitly enabled slave or shared mount propagation and he/she would get clear error in this case.

/sig storage
/sig node

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.sig/nodeCategorizes an issue or PR as relevant to SIG Node.sig/storageCategorizes an issue or PR as relevant to SIG Storage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions