-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Added support for tolerations in local-volume provisioner daemonset helm template #792
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/area local-volume |
cc @cofyc |
This makes sense to me. Could you wait a while? There are some refactorings in #789, you can make changes based on new helm chart values/template files after that pr is merged. |
# operator: Equal|Exist | ||
# value: "{Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.}" | ||
# effect: NoSchedule|PreferNoSchedule|NoExecution | ||
# tolerationSeconds: <optional, by default not set> |
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.
Because toleration is a spec of kubernetes api, add a reference to its docs should be enough.
# Node tolerations for local-volume-provisioner scheduling to nodes with taints.
# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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.
Thank you for that input, it does make more sense :) Fixed.
Yes no worries, I manually packaged a chart in the meantime. :) I can refactor a little after your updates. Thanks for the feedback. |
1a8fd86
to
e2703a0
Compare
@cofyc Hi! Sorry for the delay, but was quite busy the past few weeks. I've amended the PR to reflect the changes required. Thanks for the work you did with the tests and documentation! :) 👍 Please let me know if something else is required. |
/lgtm |
@dubuc I had a follow up question on this. In your example, you are tolerating a master node. Does that mean you want to expose the local disks on your master node and also have workload pods scheduled to the master node? |
Added support for tolerations in the DaemonsSet Helm template for the static local volume provisioner.