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:

  1. Check your cluster's external provisioner configuration. Ensure the 'k8s-sigs.io/nfs-subdir-external-provisioner' is correctly running and connected to your cluster.

  2. Verify the persistent volume definition. Confirm that the definition uses the correct provisioner, 'k8s-sigs.io/nfs-subdir-external-provisioner'.

  3. 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.

  4. Check the availability and accessibility of your storage resources. Test your NFS storage with an NFS client to ensure it is accessible.

  5. 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.

Kubernetes PersistentVolume Controller: Waiting for Volume Creation with k8s-sigs.io/nfs-subdir-external-provisioner

原文地址: https://www.cveoy.top/t/topic/bfAb 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录