Skip to content

Add support for custom operator, effect, and value for tolerations#60

Open
AbiriAmir wants to merge 2 commits intonano-byte:masterfrom
AbiriAmir:master
Open

Add support for custom operator, effect, and value for tolerations#60
AbiriAmir wants to merge 2 commits intonano-byte:masterfrom
AbiriAmir:master

Conversation

@AbiriAmir
Copy link

Currently, toleration does not support custom values for effect, value, and operator. This pull request aims to address this issue.

nodeExclusions:
otherKey: [otherValue1, otherValue2]
tolerations: [someTaint]
tolerations:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tolerations:
tolerations:

Comment on lines +90 to +96
## Example:
## tolerations: ["node.deepl.dev/k8s-kubevirt"]
## Or you can add more complex tolerations as objects here
## tolerations:
## - key: "node.deepl.dev/k8s-gpu-worker"
## effect: NoSchedule
## value: "true"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have examples for any of the other values in values.yaml either.

Suggested change
## Example:
## tolerations: ["node.deepl.dev/k8s-kubevirt"]
## Or you can add more complex tolerations as objects here
## tolerations:
## - key: "node.deepl.dev/k8s-gpu-worker"
## effect: NoSchedule
## value: "true"

Perhaps we can put this in the README.md instead?

Perhaps something like:

| `scheduling.tolerations` | `[]`  | Taints on nodes this service can tolerate as strings or complex tolerations as objects |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants