Tainting and Labeling Kubernetes Nodes to Run Special Workload - A quick guide that is finally NOT confusing
All right folks, I intend to keep this one short and that's what I will do. I mean, it's supposed to be easy but the official documentations(1, 2) make it unnecessary confusing. So I think maybe I can help filling in the gap.
I will be using one of our business requirements at Buffer in this project, as the example for this blog post.
So, we need a few nodes that are dedicated to running cronjobs, and nothing else. At the same time we want to make sure the cornjobs are scheduled to these nodes, and nowhere else. This means we need 2 things