<p>I am trying to re-deploy jenkins pod on kubernetes.</p>
<p>After I tried it, I am getting error and the pod is not initializing.</p>
<p>After I describe the pod, I can see</p>
<pre><code>  Warning  FailedScheduling   46s               default-scheduler   0/12 nodes are available: 12 node(s) didn't match node selector.
  Normal   NotTriggerScaleUp  7s (x4 over 38s)  cluster-autoscaler  pod didn't trigger scale-up (it wouldn't fit if a new node is added): 2 node(s) didn't match node selector
</code></pre>
<p>Also, I see that there is a defined nodePool, which is <code>Node-Selectors:    nodePool=default</code></p>
<p>I have a kubernetes deployment called <code>jenkins</code> where I can see that this value is defined.</p>
<p>I am not sure what should be the nodePool, since I am not sure how can I list all nodePools that I have available.</p>
<p>I can list all nodes using <code>kubectl get nodes</code>, but I do not see any info about nodePool there.</p>
<p>Any advice how to do this?</p>

<p>please check the lables using <code>kubectl get nodes --show-labels</code> looks like your deployment has wrong labels</p>
