Andy Zhang

Results 651 comments of Andy Zhang

> @andyzhangx do you know when this can be added to a release ? @ClementLachaussee I am adding this chart config into v1.29.7 release since it does not have that...

what's the result of `mount | grep nfs` if you exec into the nginx pod? @bnaigaonkar

that means your nfs mount is broken, why it's mounted to `/dev/nvme0n1p1`? follow this guide to get csi driver logs on the node: https://github.com/kubernetes-csi/csi-driver-nfs/blob/master/docs/csi-debug.md#case2-volume-mountunmount-failed ``` # mount | grep nfs...

then what's the csi driver logs on that node: ``` kubectl logs csi-nfs-node-xxx -c nfs -n kube-system > csi-nfs-node.log ```

from csi driver logs, the nfs mount succeeded: ``` 67 I0819 10:57:33.864134 1 utils.go:109] GRPC call: /csi.v1.Node/NodePublishVolume 68 I0819 10:57:33.864159 1 utils.go:110] GRPC request: {"target_path":"/var/snap/microk8s/common/var/lib/kubelet/pods/2beda551-3e7f-4907-baf4-5e6bb93815a3/volumes/kubernetes.io~csi/pvc-79d508c5-6e10-4c7c-a982-46c994a61142/mount","volume_capability":{"AccessType":{"Mount":{"mount_flags":["nfsvers=4.1"]}},"access_mode":{"mode":5}},"volume_context":{"csi.storage.k8s.io/pv/name":"pvc-79d508c5-6e10-4c7c-a982-46c994a61142","csi.storage.k8s.io/pvc/name":"pvc-deployment-nfs","csi.storage.k8s.io/pvc/namespace":"default","server":"nfs-server.default.svc.cluster.local","share":"/","storage.kubernetes.io/csiProvisionerIdentity":"1724064909114-7957-nfs.csi.k8s.io","subdir":"pvc-79d508c5-6e10-4c7c-a982-46c994a61142"},"volume_id":"nfs-server.default.svc.cluster.local##pvc-79d508c5-6e10-4c7c-a982-46c994a61142##"} 69 I0819 10:57:33.865693 1 nodeserver.go:132]...

in this case, is `privatelink.file.core.windows.net` created by yourself or CSI driver? @frank-m

yes, that's intended, similar to issue: https://github.com/kubernetes-csi/csi-driver-nfs/issues/851

if you set `volumeBindingMode: WaitForFirstConsumer` in storage class, the pod would be scheduled to the node first, and then pvc creation would happen, that could make sure you have the...

@CKnoppas what's the `persistentVolumeReclaimPolicy` value of your pv? this value defines whether csi driver would delete the container when volume is delete, since your pv is created by yourself, the...