After kubectl apply -f test-pod.yaml, I checked the pod status, it keep pending for a long time
test-pod 0/1 Pending 0 15h
Then I checked the kubectl get event
ProvisioningFailed persistentvolumeclaim/efs Error creating provisioned PV object for claim default/efs: PersistentVolume "pvc-76b7ee16-5fc4-11ea-ab77-02aadf7bd768" is invalid: spec.nfs.path: Invalid value: "fs-72d63897.efs.cn-northwest-1.amazonaws.com.cn:/efs-pvc-76b7ee16-5fc4-11ea-ab77-02aadf7bd768": must be an absolute path. Deleting the volume.
I followed the guides to use the EFS as persistent volume for EKS in AWS Ningxia region https://aws.amazon.com/premiumsupport/knowledge-center/eks-pods-efs/
After kubectl apply -f test-pod.yaml, I checked the pod status, it keep pending for a long time test-pod 0/1 Pending 0 15h
Then I checked the kubectl get event
Here is details of test-pod