-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Use correct tolerations value when deploying cilium-operator and cilium-etcd-operator via helm #15992
Conversation
This comment has been minimized.
This comment has been minimized.
46e7bab
to
5e7cee9
Compare
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.
Hi @michaelpetrov and thanks for the PR. Patch LGTM.
Without this the global tolerations value is used and the operator runs on all nodes including ones with taints.
Can you elaborate on this because I see no difference between the global tolerations and the operator's ones by default:
$ yq '.tolerations,.operator.tolerations' install/kubernetes/cilium/values.yaml
[
{
"operator": "Exists"
}
]
[
{
"operator": "Exists"
}
]
@kaworu on our clusters we have cpu and gpu nodes in two node pools, and the gpu nodes have a taint to avoid scheduling non-essential work on them (because they are far more expensive nodes). To be honest, I think the top level |
Commit b3747d1ec0b048d7346d86e8ef9fafb1102f67c8 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
b3747d1
to
4668422
Compare
4668422
to
567496d
Compare
@michaelpetrov thanks for the insight, all you wrote make perfect sense. In our current Helm charts we have many top-level items that are about the agent. For example, |
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.
Good catch. Thanks for the PR!
I'm actually even slightly worried about this diff because some existing chart installations might depend on |
@michaelpetrov that is a valid concern and why the release note is minor, but granted that might not be enough safety net. I'll defer to @seanmwinn about the potential breakage. To keep some level of backward compatibility, could we could use Helm's default function? e.g.
|
This comment has been minimized.
This comment has been minimized.
test-me-please |
@michaelpetrov Could you please rebase your PR on latest master? We've fixed a couple of flakes in the past few days and CI should have a better time after rebasing. |
<!-- Description of change --> Use correct tolerations value when deploying cilium-operator via helm. Without this the global `tolerations` value is used and the operator runs on all nodes including ones with taints. ```release-note Use correct tolerations value when deploying cilium-operator via helm. ``` Signed-off-by: Michael Petrov <petrov.michael@gmail.com>
… helm <!-- Description of change --> Use correct tolerations value when deploying cilium-etcd-operator via helm. Without this, the global `tolerations` value is used and the operator runs on all nodes including ones with taints. Currently the `values.yaml` file claims it is available (but has been unused so far) ```release-note Use correct tolerations value when deploying cilium-etcd-operator via helm. ``` Signed-off-by: Michael Petrov <petrov.michael@gmail.com>
567496d
to
c909893
Compare
test-me-please |
Failures are unrelated, merging |
Use correct tolerations value when deploying cilium-operator via helm. Without this the global
tolerations
value is used and the operator runs on all nodes including ones with taints.Signed-off-by: Michael Petrov petrov.michael@gmail.com