Replies: 3 comments 1 reply
-
The CSI driver already support sidecar mode, have you tried that? |
Beta Was this translation helpful? Give feedback.
-
https://juicefs.com/docs/csi/introduction/ Taking mount pod mode for example, this is the overall process: "A JuiceFS Client runs inside the mount pod, and mounts the JuiceFS volume to the host, with the path being /var/lib/juicefs/volume/[pv-name]." I referenced this implementation and ran the JuiceFS client in a Docker container. The mount path is mounted to the container through the host path. Everything is okay in the container, but I can't see the JuiceFS files on the host, so I'm not sure where the problem lies. |
Beta Was this translation helpful? Give feedback.
-
I think the bind-propagation should be configured: https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation |
Beta Was this translation helpful? Give feedback.
-
i want to run JuiceFS in a sidecar container to provide data access to other containers,but I faced the following questions:
If run JuiceFS on the host and mount a host path to a container, i can access the data in the container. However, if i mount the host path to the container and run JuiceFS in the container, not be able to access the data from either the host or other containers.
Beta Was this translation helpful? Give feedback.
All reactions