<p>I tried to create new node in k8s with the process of autoscalar</p>
<p>It is working well if I have 1 node and then it create new node</p>
<pre><code>pod triggered scale-up: [{shoot--system-z1 1-&gt;2 (max: 20)}]
</code></pre>
<p>when I tried to do it in the second time when I have 2 nodes and it try to create the 3 node then I got an error</p>
<pre><code>pod didn't trigger scale-up (it wouldn't fit if a new node is added)
</code></pre>
<p>This is the logs of the autosclar</p>
<pre><code>{&quot;log&quot;:&quot;Pod xxxx can't be scheduled on shoot-system-z1, predicate checking error: node(s) didn't match node selector; predicateName=NodeAffinity; reasons: node(s) didn't match node
 selector; debugInfo=&quot;,&quot;pid&quot;:&quot;1&quot;,&quot;severity&quot;:&quot;I&quot;,&quot;source&quot;:&quot;scale_up.go:288&quot;}
</code></pre>
<p>Could you please advise me what do In need to check ?</p>

user1365697
<p>Looks like in that final Pod you are trying to deploy is a <a href="https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity" rel="nofollow noreferrer">NodeAffinity</a> rule that does not match any of your nodes and would also <strong>not match if the autoscaler would add an additional node</strong>. You might want to remove that rule.</p>
