kube-hetzner / terraform-hcloud-kube-hetzner

Optimized and Maintenance-free Kubernetes on Hetzner Cloud in one command!
MIT License
2.41k stars 372 forks source link

[Feature Request]: Add taint toleration to cluster-autoscaler #1455

Closed mabilinab closed 2 months ago

mabilinab commented 3 months ago

Description

I have added a taint to my master node, and now, the cluster-autoscaler pods can no longer be scheduled since they do not have the right taint toleration. Is it possible to configure the cluster-autoscaler deployment to have the right toleration to be scheduled on the master node? (I think I can do that through kubectl, but that will be overridden whenever I apply the kube.tf)

mysticaltech commented 2 months ago

@mabilinab It should not get overwritten as the tf state was not changed. Try it, you'll see that it remains.