<p>All I have is a GKE cluster and there are 3 node pools and the machine size is <code>e2-standard-2</code> but when I push my deployment into this cluster I got this error on gke dashboard
<a href="https://i.stack.imgur.com/FDVOl.png" rel="nofollow noreferrer">error image</a></p>
<p>Although I have enabled the node auto-provisioning but it is still showing this error.
Can you help me out how can I fix this issue?</p>

<p>From what I understand, you are using <code>Standard GKE</code> not <code>Autopilot GKE</code>.</p>
<p><a href="https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning" rel="nofollow noreferrer">Using node auto-provisioning</a> GKE documentation provides much information about this feature.</p>
<p>Regarding your issue, you mention that your cluster didn't have <code>node auto-provisioning</code> and you have enabled it.
In <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning#enable" rel="nofollow noreferrer">Enabling node auto-provisioning</a> part you have note:</p>
<blockquote>
<p>If you disable then re-enable auto-provisioning on your cluster, <strong>existing node pools will not have auto-provisioning enabled. To re-enable auto-provisioning for these node pools, you need to</strong> <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning#mark_node_auto-provisioned" rel="nofollow noreferrer">mark individual node pools</a> as auto-provisioned.</p>
</blockquote>
<p>In short, if you just enabled auto-provisioning on cluster using:</p>
<pre><code>gcloud container clusters update CLUSTER_NAME \
    --enable-autoprovisioning \
    ... (other config)
</code></pre>
<p><strong>It will work for new node-pools.</strong></p>
<p>To enable <code>node auto-provisioning</code> for <strong>already existing</strong> <code>node-pools</code>, you need to specify it by name:</p>
<pre><code>gcloud container node-pools update NODE_POOL_NAME \
  --enable-autoprovisioning
</code></pre>
<p>If you didn't change anything, the first <code>node-pool</code> in the new cluster by default is called <code>default-pool</code>. So for example you should use</p>
<pre><code>gcloud container node-pools update default-pool \
  --enable-autoprovisioning
</code></pre>
<p>If this won't solve your issue, please provide more details about your cluster, what commands you execute in order to replicate this behavior.</p>
