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
Helm: allow GrafanaAgent tolerations #10613
Helm: allow GrafanaAgent tolerations #10613
Conversation
Note that I've checked adding |
Hm, this has a failing check (drone) which I don't quite understand... |
Drone runs a lot of the automated check on PRs. |
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.
[docs team] LGTM. Engineering will still need to sign off on this.
Also, for the drone check that is failing, |
@JStickler Oops, I wasn't aware that I was supposed to execute that command... Anyway, done now. Sorry, this is my first ever PR... 🙃 |
@ngc4579 No worries. Sometimes it takes a while to learn your way around a particular repository and what's running as far as CI/CD checks and how to troubleshoot those build errors. And Congrats on your first Loki PR! |
@JStickler There's another one in job 'Lint Helm Chart':
What is |
@ngc4579 Thanks for the contribution. Can you merge from main and update the version? The next one is 5.24.0. You also have to update the production/helm/loki/README.md file. Then the CI won't complain anymore. |
@MichelHollands Thanks for your feedback. I was unsure what to do about the CI complaint. |
|
**What this PR does / why we need it**: `monitoring.selfMonitoring.grafanaAgent.tolerations` was evaluated inside a wrong scope in the `GrafanaAgent` template, thus having no effect at all. **Which issue(s) this PR fixes**: n/a **Special notes for your reviewer**: Fixes an issue with my first (ever) [PR](#10613) that I thought was rather trivial but somehow turned out not to be. At least, regarding my inability to correctly count `with` / `end` scope markers... :( **Checklist** - [X] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [ ] Documentation added - [ ] Tests updated - [X] `CHANGELOG.md` updated - [ ] If the change is worth mentioning in the release notes, add `add-to-release-notes` label - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/setup/upgrade/_index.md` - [X] For Helm chart changes bump the Helm chart version in `production/helm/loki/Chart.yaml` and update `production/helm/loki/CHANGELOG.md` and `production/helm/loki/README.md`. [Example PR](d10549e) --------- Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
**What this PR does / why we need it**: Helm: Allow setting tolerations for GrafanaAgent pods in order to have them scheduled to tainted nodes as well. **Which issue(s) this PR fixes**: Fixes grafana#10575 **Special notes for your reviewer**: n/a **Checklist** - [x] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [x] Documentation added - [ ] Tests updated - [x] `CHANGELOG.md` updated - [x] If the change is worth mentioning in the release notes, add `add-to-release-notes` label - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/setup/upgrade/_index.md` - [x] For Helm chart changes bump the Helm chart version in `production/helm/loki/Chart.yaml` and update `production/helm/loki/CHANGELOG.md` and `production/helm/loki/README.md`. [Example PR](grafana@d10549e) --------- Co-authored-by: J Stickler <julie.stickler@grafana.com> Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
**What this PR does / why we need it**: `monitoring.selfMonitoring.grafanaAgent.tolerations` was evaluated inside a wrong scope in the `GrafanaAgent` template, thus having no effect at all. **Which issue(s) this PR fixes**: n/a **Special notes for your reviewer**: Fixes an issue with my first (ever) [PR](grafana#10613) that I thought was rather trivial but somehow turned out not to be. At least, regarding my inability to correctly count `with` / `end` scope markers... :( **Checklist** - [X] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [ ] Documentation added - [ ] Tests updated - [X] `CHANGELOG.md` updated - [ ] If the change is worth mentioning in the release notes, add `add-to-release-notes` label - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/setup/upgrade/_index.md` - [X] For Helm chart changes bump the Helm chart version in `production/helm/loki/Chart.yaml` and update `production/helm/loki/CHANGELOG.md` and `production/helm/loki/README.md`. [Example PR](grafana@d10549e) --------- Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
What this PR does / why we need it:
Helm: Allow setting tolerations for GrafanaAgent pods in order to have them scheduled to tainted nodes as well.
Which issue(s) this PR fixes:
Fixes #10575
Special notes for your reviewer:
n/a
Checklist
CONTRIBUTING.md
guide (required)CHANGELOG.md
updatedadd-to-release-notes
labeldocs/sources/setup/upgrade/_index.md
production/helm/loki/Chart.yaml
and updateproduction/helm/loki/CHANGELOG.md
andproduction/helm/loki/README.md
. Example PR