Nếu bạn đã cấu hình pvc dựa trên efs và eks
nhưng bạn thấy các pod của bạn không không mount được vào pvc
Lỗi như dưới dây
Mount attempt 1/3 failed due to timeout after 15 sec, wait 0 sec before next attempt. Mount attempt 2/3 failed due to timeout after 15 sec, wait 0 sec before next attempt. b'mount.nfs4: mount system call failed' Warning: config file does not have fips_mode_enabled item in section mount.. You should be able to find a new config file in the same folder as current config file /etc/amazon/efs/efs-utils.conf. Consider update the new config file to latest config file. Use the default value [fips_mode_enabled = False].Warning: config file does not have retry_nfs_mount_command item in section mount.. You should be able to find a new config file in the same folder as current config file /etc/amazon/efs/efs-utils.conf. Consider update the new config file to latest config file. Use the default value [retry_nfs_mount_command = True]. E1209 07:58:01.540150 1 driver.go:103] GRPC error: rpc error: code = Internal desc = Could not mount "fs-088a8310597f50f2b:/" at "/var/lib/kubelet/pods/3c02d391-a8b4-4f75-9ca4-5c2b7e9f18cb/volumes/kubernetes.io~csi/pvc-66a1066c-431c-42a1-b9c2-00d60b578460/mount": mount failed: exit status 32 Mounting command: mount Mounting arguments: -t efs -o accesspoint=fsap-0e1464af8b852638f,tls fs-088a8310597f50f2b:/ /var/lib/kubelet/pods/3c02d391-a8b4-4f75-9ca4-5c2b7e9f18cb/volumes/kubernetes.io~csi/pvc-66a1066c-431c-42a1-b9c2-00d60b578460/mount Output: Could not start amazon-efs-mount-watchdog, unrecognized init system "aws-efs-csi-dri"
https://github.com/kubernetes-sigs/aws-efs-csi-driver/issues/637#issuecomment-1049355766
Bạn cần kiểm tra Security Group đã allow cho subnet của EKS access vào đó chưa?