PVC volume appears to mount correctly in pod but writes to mountpoint inside the pod go to the nodes local filesystem #762
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
What happened:
A pvc used as a volume mount inside a test pod appears to be correctly mounted per kubelet logs, and csi-nfs-node logs, but writes the to the mountpoint are made to the node's local filesystem under the kubelet/..pod../.../mount directory.
What you expected to happen:
writes are made ultimately on the .../shares/pvc-..../ directory on the machine hosting the nfs shares
How to reproduce it:
create a dynamic pvc, create a simple pod yaml referencing the pvc as a volume mount in a container.
Anything else we need to know?:
kubelet logs on the node hosting the pod show the pvc apparently succeeding?
csi-nfs-node logs on the node appear to show the mount succeeded
Manually making the nfs mount to the node hosting the test pod from the nfs server works as expected.
running 'mount | grep nfs' from inside the csi-nfs-node pod shows the mount as expected.
Environment:
kubectl version
): 1.25.16uname -a
): 4.18.0-553.16.1.el8_10.x86_64The text was updated successfully, but these errors were encountered: