Kubernetes PersistentVolume Controller: Waiting for Volume Creation with k8s-sigs.io/nfs-subdir-external-provisioner
To address the issue of a persistentvolume-controller waiting for a volume to be created, either by the external provisioner 'k8s-sigs.io/nfs-subdir-external-provisioner' or manually created by a system administrator, follow these steps:
-
Check your cluster's external provisioner configuration. Ensure the 'k8s-sigs.io/nfs-subdir-external-provisioner' is correctly running and connected to your cluster.
-
Verify the persistent volume definition. Confirm that the definition uses the correct provisioner, 'k8s-sigs.io/nfs-subdir-external-provisioner'.
-
If creating a persistent volume manually, ensure the required storage resources are correctly created and match the persistent volume definition. You can create a persistent volume manually using the kubectl command.
-
Check the availability and accessibility of your storage resources. Test your NFS storage with an NFS client to ensure it is accessible.
-
Inspect the persistentvolume-controller logs for error messages. Use the 'kubectl logs' command to view the persistentvolume-controller logs.
If you continue encountering issues, carefully review your cluster and storage configurations. Refer to relevant documentation for further assistance.
原文地址: https://www.cveoy.top/t/topic/bfAb 著作权归作者所有。请勿转载和采集!