-
Notifications
You must be signed in to change notification settings - Fork 69
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
Function of adding taints for node pool #1102
Comments
Hey @BigBrather thanks for the issue. |
Hi @kranurag7, thanks for the reply. But it's not entirely clear how this works for me. I didn’t find an example of this implementation that would help me do this in my *.yaml file for the K8s cluster. Which creatures should this be assigned to in order for it to be displayed for my node pool? |
Hey @BigBrather If you're interested in propagating labels, then you can use the templates provided in this repo. The templates are inside the Also, read this convention on what labels are allowed to be propagated to the node. From Cluster API docs:
The labels you want to propagate should follow the above criteria. For example, if you want to propagate your node pool information to the nodes something like |
Thank you very much @kranurag7! This helped me solve the problem with setting labels for my node pools, also thanks for the links to the documentation. |
@kranurag7 I hope to see support for taints and annotations in the future. This would be useful not only for me. |
@BigBrather, I'm glad that you were able to get the labels on the nodes. In general, this repo is an infra-provider implementation for Hetzner, and controllers in this repo deal with provisioning of resources in HetznerCloud and managing their state. |
I think this is solved: |
@kranurag7 Yes, I understand you. Thanks for the info! |
@janiskemper Yes, the issue can be considered resolved. |
/kind feature
Describe the solution you'd like
I want to be able to set taints for my node pools so that it is possible to more correctly distribute the load on the K8s Cluster.
So you can do something like this:
Anything else you would like to add:
If I understand correctly. Is there no such possibility now?
Environment:
kubectl version
): v1.28.4/etc/os-release
):The text was updated successfully, but these errors were encountered: