Pod Stuck in Pending State As Container Fails to Mount Persistent NFS Volumes
Problem
A pod is stuck in a pending state as the container fails to mount the NFS volume. We observe the below error while running kubectl describe command for the affected pod.
Environment
- Platform9 Managed Kubernetes - All Versions
- Persistent Volumes
- NFS
Cause
The package nfs-common is not available on the node which is required to mount the Persistent Volume shared using NFS.
Resolution
Install the package nfs-common on the node on which the affected pod is running. Once the package is installed the pod will be able to mount the volume on the next retry.
Was this page helpful?