Comments (7)
I have exactly the same issue since I switched to the Helm-Chart.
With the kubectl Install Method the "readOnlyRootFilesystem" is not set according to the following file:
https://github.com/kubernetes-csi/csi-driver-nfs/blob/master/deploy/v4.7.0/csi-nfs-controller.yaml
from csi-driver-nfs.
@Tuco106 Thank you for your update.
It is surprising to see that the helm chart does not work out of the box, due to the problems described above.
Could I request the maintainers to take a look at this and update the chart ?
from csi-driver-nfs.
Attempting to migrate from nfs-subdir-external-provisioner (which works great) to this
mirrored almost all the same settings and getting this from the nfs container
Cannot create temp dir to detect safe 'not mounted' behavior: mkdir /tmp/kubelet-detect-safe-umount149479443: read-only file system
when running through the troubleshooting guide I get nothing returned when running mount | grep nfs
Which I believe is related to this
from csi-driver-nfs.
that's introduced by #422, I will set the default value as false.
@farodin91
from csi-driver-nfs.
Wouldn't be better to make configurable?
We run with this setting for one year and have no issue.
from csi-driver-nfs.
Cannot create temp dir to detect safe 'not mounted' behavior: mkdir /tmp/kubelet-detect-safe-umount149479443: read-only file system
This could be fixed by using an emptydir.
from csi-driver-nfs.
I'm not sure if I need to make a new issue about this but I have a few concerns with the fix to this issue. On my cluster, I've enabled the host's rpc.statd service to handle the NFS locks. This fix reverts the read only state of the root filesystem on the nfs controller deployment and it will then start its own rpc.statd service if it is missing. The node daemonset has a similar read only root filesystem setting and I would believe that it would also need the rpc.statd service. Since both the controller and node pods are host network pods, technically the node pod might use the controller pod's rpc.statd service and hide that other nodes that only have the node pod also need to have read-write root filesystems.
Personally, I don't know the best solution. I worry that if the pods need to be restarted due to an upgrade or when a node is being drained, the rpc.statd service would be terminated and outstanding mounts might lose their locking solution and have trouble.
from csi-driver-nfs.
Related Issues (20)
- Please publish Helm Chart to OCI HOT 3
- helm chart volumesnapshot rbac problem HOT 1
- configMap can't mounted as file on the NFS PVC HOT 2
- [Feature Request] Share a PV across namespaces HOT 6
- Warning VolumeResizeFailed pod/pueel-sxx-0 NodeExpandVolume.NodeExpandVolume failed for volume "logging-nfs-pv" : Expander.NodeExpand found CSI plugin kubernetes.io/csi/nfs.csi.k8s.io to not support node expansion HOT 3
- csi-driver-nfs stops working for new PVC on randomly affected nodes. HOT 9
- Documentation for fsGroupPolicy is outdated HOT 1
- Single-node (WIP) cluster can't schedule controller HOT 3
- Failed to pull image "registry.k8s.io/sig-storage/nfsplugin:v4.7.0": rpc error: code = NotFound HOT 2
- wrong chart intent when using multiple mountOptions
- Remount when connection lost HOT 2
- pvc pending status Waiting for a volume to be created either by the external provisioner HOT 5
- [Helm] Incorrect indentation when passing multiple mountOptions to the storageclass HOT 4
- Updating chart content without incrementing the version HOT 6
- CSI driver for NFS with Helm Install - github URL not found HOT 1
- mounter.SetupAt failed to check volume lifecycle mode: volume mode "Ephemeral" not supported by driver nfs.csi.k8s.io (only supports ["Persistent"]) HOT 1
- workingMountDir not created from emptyDir in csi-nfs-node pods so /tmp is not writable HOT 2
- PV stuck in status "Terminating" after deleting corresponding PVC HOT 2
- csi-snapshotter complains about missing CRD's quite noisily in the logs when externalSnapshotter Helm value is set to disabled HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csi-driver-nfs.