Kubernetes Pod Warning: 1 node(s) had volume node affinity conflict

前端 未结 7 3912
一向
一向 2020-12-14 14:24

I try to set up Kubernetes cluster. I have Persistent Volume, Persistent Volume Claim and Storage class all set-up and running but when I wan to create pod from deployment,

7条回答
  •  佛祖请我去吃肉
    2020-12-14 14:47

    In my case, the root cause was that the persistent volume are in us-west-2c and the new worker nodes are relaunched to be in us-west-2a and us-west-2b. The solution is to either have more worker nodes so they are in more zones, or remove / widen node affinity for the application so that more worker nodes qualifies to be bounded to the persistent volume.

提交回复
热议问题