How can we pass multiple labels to an EKS node group via BootstrapArguments

11/14/2018

I am aware that we can create node groups with labels via kubelet-extra-args:

--kubelet-extra-args --node-labels=foo=bar

This syntax was a bit of a surprise to me so I'm not exactly sure how to add multiple labels.

-- Adverbly
amazon-eks
kubernetes

1 Answer

11/14/2018

Found it! I should have guessed but this passes things off to kubelet, which apparently takes comma separated key-value pairs joined with '='

--kubelet-extra-args --node-labels=alabel=foo,another=bar
-- Adverbly
Source: StackOverflow