I am trying doing this
ParameterKey: "BootstrapArguments", ParameterValue: "--kubelet-extra-args --node-labels=MyKey=MyValue,MyKey2=MyValue2"
But this is not working.
If I try adding only one key pair value then node labels are gettig attached to the node.
What is the error that I am doing
Not sure what bootstrap arguments are, but here's my userdata script on my EKS worker nodes:
#!/bin/bash -xe
/etc/eks/bootstrap.sh cluster_name --kubelet-extra-args '--node-labels=something=hello,somethingelse=bye --register-with-taints=taint1=true'
As @emman27 you can surround the arguments with a single quote
Most helpful comment
Not sure what bootstrap arguments are, but here's my userdata script on my EKS worker nodes: