-
Notifications
You must be signed in to change notification settings - Fork 7
Missing node.cluster.x-k8s.io/uninitialized taint in CCM Deployment #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@prometherion do you have an idea, why this happens in your environment, but not in our environment? With other words: Why does the taint |
I guess you are using a newer CAPI version. There was a breaking change: kubernetes-sigs/cluster-api#7993 Docs: https://cluster-api.sigs.k8s.io/developer/providers/bootstrap.html#taint-nodes-at-creation |
Strange, I got this email, but I don't see a comment in Github.
What about this PR: https://github.com/syself/hetzner-cloud-controller-manager/pull/13/files
Is this needed according to your POV?
Regards,
Thomas
Am Mittwoch, Juli 12, 2023 17:59 CEST, schrieb Dario Tranchitella ***@***.***>:
I think this issue can be ignored, running the API Server and the Controller Manager with the CLI arguments --cloud-provider=external the issue is not presented.
If you agree, we can close this bug report, since it's not a bug.
—
|
Ignore that, my bad, I've been tricked by the manual add of the toleration. The mentioned PR is still valid. |
@prometherion this CCM is mostly a fork of the hloud ccm. We try to follow the upstream hcloud ccm, if possible. If you get the PR into the hcloud ccm, then we will merge it into our code base automatically, since we do that from time to time. |
@prometherion thank you for your changes. The files you modified are actually not used by the Syself Hetzner CCM. The Helm Chart for this repo is here: https://github.com/syself/charts/tree/main/charts/ccm-hetzner This helm chart already contains the Taint you are asking for. Feel free to create a re-open or create a new issue, if you want us to change something. |
I created a Kubernetes cluster with the Syself Cluster API infrastructure provider, with the Kubernetes version
v1.25.2
.The resulting nodes of the seed cluster are unschedulable, as expected:
Each node has the following taints:
Once the CCM is installed using Helm
the resulting Deployment is non-schedulable on the worker nodes due to a non-satisfied toleration set.
Once the taint is added, the CCM is successfully deployed.
@guettli
The text was updated successfully, but these errors were encountered: