feat(helm): Add health probes to bloom-gateway - #18551
Conversation
|
CI: Error from server (BadRequest): container "query-frontend" in pod "loki-oef3k0fujj-query-frontend-5665878895-5sgph" is waiting to start: ContainerCreating |
There was a problem hiding this comment.
The lines here are on each of your PRs. Keep in mind if one of them are merged, all other PRs will have a merge conflict then.
There was a problem hiding this comment.
Thanks for the heads-up. I intentionally based them all off of the same commit, to ensure there's no changes between them. I believe there will be no conflict since these are the exact same changes in each PR.
There was a problem hiding this comment.
In the changelog, on the other hand, there will be conflicts every time I fear. But no easy way around that, I think.
Turns out that some components (at least templates/distributor/deployment-distributor.yaml) was already using In commit abe8bc2 I set them to |
|
I personally would prefer |
|
I think that's a good decision. But I also think that it belongs to a separate PR, since it refactors existing components rather than introduce new functionality. I'll make a new PR for it, but just tell me if you much prefer it all to go here and I'll cherry-pick the relevant commits into this branch/PR instead. |
|
Created the new PR here: #18575 I'll rebase all other PRs once that has been merged. |
Signed-off-by: Andreas Lindhé <7773090+lindhe@users.noreply.github.com>
Adds configurable `livenessProbe` and `startupProbe` to the bloom-gateway container in the bloom-gateway pods. Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de> Signed-off-by: Andreas Lindhé <7773090+lindhe@users.noreply.github.com>
Done via the following command: ```shell docker run -it --rm -v "$(pwd):/go" --entrypoint bash -e BUILD_IN_CONTAINER=false grafana/loki-build-image:0.34.6 -c 'git config --global --add safe.directory /go; make -BC docs sources/setup/install/helm/reference.md' ``` Signed-off-by: Andreas Lindhé <7773090+lindhe@users.noreply.github.com>
50357da to
77c88f6
Compare
jkroepke
left a comment
There was a problem hiding this comment.
I guess the CI will miss the new loki.startupProbe in the docs as well. or I'm wrong?
In README.md or in reference.md? How do I generate it? |
|
No, CI is green. So LGTM. |
Signed-off-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>
Signed-off-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>
What this PR does / why we need it:
Adds configurable
livenessProbeandstartupProbeto the bloom-gateway container in the bloom-gateway pods.Which issue(s) this PR fixes:
Partially addresses #13678
Special notes for your reviewer:
Partially replaces #15359
Checklist
CONTRIBUTING.mdguide (required)featPRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.docs/sources/setup/upgrade/_index.mddeprecated-config.yamlanddeleted-config.yamlfiles respectively in thetools/deprecated-config-checkerdirectory. Example PR