<p>I have a Kubernetes cluster running various apps with different machine types (ie. cpu-heavy, gpu, ram-heavy) and installed cluster-autoscaler (CA) to manage the Auto Scaling Groups (ASG) using auto-discovery.</p>

<p>Kubernetes version: EKS 1.11</p>

<p>Cluster Autoscaler: v1.13.2</p>

<p>I have configured my ASGs such that they contain the appropriate CA tags. These ASGs are usually scaled down to 0 nodes, and will be scaled up according to workload. Going into the CA logs, I have also verified that the CA acknowledges the existence of the ASGs. However, whenever I try to create pods with nodeSelectors, the CAs doesn't scale up the corresponding ASG and responds with "predicate failed: nodeSelector(s) did not match". I have added the appropriate node labels to the ASG's tags as well. </p>

<p>Could it be a limitation due to scaling up from 0 nodes? </p>

<p>Can't seem to find similar problems online. Any feedback would help! Thanks!</p>

Frank Yucheng Gu
<p>Update: CA Documentation update</p>

<p>I had the incorrect ASG tag. Ensure that you have <code>k8s.io/cluster-autoscaler/node-template/label/some-label</code> to ensure that CA can see your node labels when the ASG is scaled down to 0. Currently, CA doesn't create node labels based on ASG tags, but this feature is in the pipeline.  </p>
