I have create PV and PVC as described in the lecture from Git: https://github.com/ACloudGuru-Resources/Course_Kubernetes_Deep_Dive_NP/tree/master/lesson-storage
After fixing issues with "gke-volpod.yml" I deployed this also, but getting following error:
Cannot schedule pods: node(s) had volume node affinity conflict
What can be the issue?
I can’t access the link you provided and am not sure what modifications you had to make to the YAML, but the first thing I would check is that the volume resides in the same zone as the node where the pod is being scheduled.