-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add node selector and tolerations options into Korifi helm chart schema #3308
Conversation
- add descriptions - use properties only - fix description - add description - fix description
helm/korifi/values.yaml
Outdated
@@ -9,6 +9,8 @@ containerRegistrySecrets: | |||
eksContainerRegistryRoleARN: "" | |||
containerRegistryCACertSecret: | |||
systemImagePullSecrets: [] | |||
tolerations: [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new values configure the cluster itself, I wonder whether it would make sense fo group them under a k8s
section. I.e. instead of using --set nodeSelector.role=something
, use --set k8s.nodeSelector.role=something
Korifi itself does not have the concept of tolerations and node selectors, so having those in the values "root" seems a bit odd to me.
Hey @panevpla, thanks for the PR. Besides the comment I left above, you would also have to sign the CLA. I also wonder would it make sense to have separate node selector and tolerations per |
That seems also reasonable. If we accept this approach, I guess we don't need the |
My instinct first told me that we need
Yes, the CLA check is now happy |
@danail-branekov as discussed, moved |
Is there a related GitHub Issue?
No
What is this change about?
Adding the
nodeSelector
andtolerations
options to the Korifi helm chart schema.This will allow the users to determine the assignment of the
korifi-api
andkorifi-controllers
pods on specific nodes.Also, used together with
taints
andtolerations
, certain nodes can be designated for Korifiapi
andcontrollers
pods only.Does this PR introduce a breaking change?
No.
Acceptance Steps
role=korifi-controlplane
;role=korifi-controlplane:NoSchedule
;This will allow the
korifi-api
andkorifi-controllers
pods to only be scheduled on the designated node for them. Pods that don't tolerate the taint of the node will not be scheduled on it.Tag your pair, your PM, and/or team
N/A