<p>Is there a way to add node labels when deploying worker nodes in EKS. I do not see an option in the CF template available for worker nodes.</p>

<p><a href="https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-06-05/amazon-eks-nodegroup.yaml/" rel="noreferrer">EKS-CF-Workers</a></p>

<p>The only option I see right now is to use kubectl label command to add labels which is post cluster setup. However, the need to have complete automation which means applications are deployed automatically post cluster deployments and labels help in achieving the segregation.</p>

f-z-N
<p>With the new EKS-optimized AMIs(amazon-eks-node-vXX) and Cloudformation template refactors provided by AWS it is now possible to add node labels as simple as providing arguments to the <code>BootstrapArguments</code> parameter of the <code>[amazon-eks-nodegroup.yaml][1]</code> Cloudfomation template. For example <code>--kubelet-extra-args --node-labels=my-key=my-value</code>. For more details check the AWS announcement: <a href="https://aws.amazon.com/blogs/opensource/improvements-eks-worker-node-provisioning/" rel="noreferrer">Improvements for Amazon EKS Worker Node Provisioning</a></p>
