DEV Community

Cover image for Pods running in GKE are not mounting their PVs.
Thodoris Velmachos
Thodoris Velmachos

Posted on

Pods running in GKE are not mounting their PVs.

If you have faced the following problem (see the screenshot), then you know probably the specific node where the persistent volume resides is not working properly and more specifically the kubelet is not working properly!

So, I would suggest the following two actions:

Image description

See also the Google Documentation how to add a new node to the nodepool
https://cloud.google.com/kubernetes-engine/docs/how-to/node-pools

  • Add a new node in the nodepool and drain the problematic one!
kubectl drain <node-name> --ignore daemonsets -- delete-emptydir-data
Enter fullscreen mode Exit fullscreen mode

Image description

I hope you like the tutorial, if you do give a thumps up! and follow me in Twitter, also you can subscribe to my Newsletter in order to avoid missing any of the upcoming tutorials.

Media Attribution

I would like to thank Clark Tibbs for designing the awesome photo I am using in my posts.

Top comments (0)