DO kubernetes node pool tags not added to nodes in cluster

As far as I know adding tags to your node pools in the DO Kubernetes dashboard will not add the same tags as labels to the nodes in the cluster.In our case we would like to dedicated a node per to certain workloads. Having to tag nodes individually seems not the way to go to be honest.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

So is this solved? I’ve just created node pool and it’s not in the cluster. Its 2020, should work right?

Try using the label (eg. s-1vcpu-2gb or s-2vcpu-4gb) which represents the instance type you selected when you created the node pool. Find the instance type associated with your nodes as follows:

kubectl get nodes --show-labels

Then use the following nodeSelector to pick the instance type associated with your node pool as follows:

      nodeSelector: s-1vcpu-2gb

Seconded, this would make having multiple node pools much more useful. Currently, while I can manually label the nodes, node failure and replacement make it somewhat hard to guarantee the necessary labels are always there; being able to have labels automatically added to all nodes in a node pool would be really neat.