Score:0

No matching NodeSelectorTerms

jp flag

Until yesterday this used to work, we are able to create a new set of pods under a namespace. However, today any new deployment fails to mount the PVC and I have no idea why.

How can I investigate this further, nothing was changed meanwhile.

kubectl describe pods --namespace 29df2a1c-5d75-4b8b-ae17-b98cfb291496

Warning FailedMount 44s kubelet MountVolume.NodeAffinity check failed for volume "pvc-c0e7b110-c7d3-4f21-ad5d-8ff116047442" : No matching NodeSelectorTerms

id flag
Leo
Which version of kubernetes do you have?
Rodrigo avatar
jp flag
I was running 1.16. When I upgraded to 1.21 the problem was solved
id flag
Leo
I am glad to read it was resolved, can you please [post your solution as an answer](https://stackoverflow.com/help/self-answer)?
Score:2
id flag
Leo

Upgrading your kubernetes version was requested based on the error message you shared. I found that the issue could be related to this bug: kubernetes/kubernetes#69928 which was fixed in v1.14: kubernetes/kubernetes#70026, this is why the upgrade was the best option to resolve it as mentioned here.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.