<p>I'm unable to launch new pods despite resources seemingly being available.</p>
<p>Judging from the below screenshot there should be room for about 40 new pods.</p>
<p><a href="https://i.stack.imgur.com/CHW8S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CHW8S.png" alt="enter image description here" /></a></p>
<p>And also judging from the following screenshot the nodes seems fairly underutilized</p>
<p><a href="https://i.stack.imgur.com/myRet.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/myRet.png" alt="enter image description here" /></a></p>
<p>However I'm currently facing the below error message</p>
<pre><code>0/3 nodes are available: 1 Insufficient cpu, 2 node(s) had volume node affinity conflict.
</code></pre>
<p>And last night it was the following</p>
<pre><code>0/3 nodes are available: 1 Too many pods, 2 node(s) had volume node affinity conflict.
</code></pre>
<p>Most of my services require very little memory and cpu. And therefore their resources are configured as seen below</p>
<pre><code>resources:
  limits:
    cpu: 100m
    memory: 64Mi
  requests:
    cpu: 100m
    memory: 32Mi
</code></pre>
<p>Why I can't deploy more pods? And how to fix this?</p>

<p>Your problem is &quot;volume node affinity conflict&quot;.</p>
<p>From <a href="https://stackoverflow.com/a/55514852">Kubernetes Pod Warning: 1 node(s) had volume node affinity conflict</a>:</p>
<blockquote>
<p>The error &quot;volume node affinity conflict&quot; happens when the persistent volume claims that the pod is using are scheduled on different zones, rather than on one zone, and so the actual pod was not able to be scheduled because it cannot connect to the volume from another zone.</p>
</blockquote>
<p>First, try to investigate exactly where the problem is. You can find a <a href="https://www.datree.io/resources/kubernetes-troubleshooting-fixing-persistentvolumeclaims-error" rel="nofollow noreferrer">detailed guide here</a>. You will need commands like:</p>
<pre><code>kubectl get pv  
kubectl describe pv  
kubectl get pvc  
kubectl describe pvc
</code></pre>
<p>Then you can delete the PV and PVC and move pods to the same zone along with the PV and PVC.</p>
