-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat(helm): Add health probes to long-lived containers #15359
Open
lindhe
wants to merge
27
commits into
grafana:main
Choose a base branch
from
lindhe:lindhe/add-health-probes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+661
−75
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
9df3b42
fix(helm): Fix health probe helper templates
lindhe 393a271
feat(helm): Add health probes to gateway
lindhe e31c65c
feat(helm): Add health probes to admin-api
lindhe aa3a08e
feat(helm): Add startupProbe to loki-sc-rules
lindhe 20fac46
feat(helm): Add health probes to loki in backend
lindhe bc95253
feat(helm): Add health probes to bloom-builder
lindhe 28099f8
feat(helm): Add health probes to bloom-gateway
lindhe 5327e7f
feat(helm): Add health probes to bloom-planner
lindhe 9fa4d2e
feat(helm): Add health probes to memcached-exporter
lindhe 17e9550
feat(helm): Add health probes to memcached
lindhe 259a8aa
feat(helm): Add startupProbe to compactor
lindhe ed6fc04
feat(helm): Add startupProbe to distributor
lindhe d49c60f
feat(helm): Add health probes to enterprise-gateway
lindhe 4e01303
feat(helm): Add startupProbe to index-gateway
lindhe b72f592
feat(helm): Add startupProbe to ingester
lindhe d4a6286
feat(helm): Parameterize readinessProbe in canary
lindhe 3be90b2
feat(helm): Add health probes to loki-canary
lindhe 5aef046
feat(helm): Add health probes to pattern-ingester
lindhe 68739ef
feat(helm): Add startupProbe to querier
lindhe e32c7ab
feat(helm): Add health probes to query-frontend
lindhe 4bd3969
feat(helm): Add startupProbe to query-scheduler
lindhe 4292176
feat(helm): Add health probes to read
lindhe 45660ea
feat(helm): Add health probes to ruler
lindhe 4d9ab1c
feat(helm): Add startupProbe to loki-sc-rules
lindhe ed590a7
feat(helm): Add startupProbe to table-manager
lindhe 0a7b6c7
feat(helm): Add health probes to write
lindhe 0cc8969
chore(helm): Update reference.md
lindhe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
maybe it's better to split liveness probes for backend/read/write components in SSM mode. The liveness URLs/probes could be different for those components, isn't it?
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.
You mean SSD mode? I heard that was recently deprecated, so maybe best to not make any changes there? 🤔
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.
But in general, I agree with your sentiment! I just used
.Values.loki
because other things used it…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.
Simple Scalable Mode with 3 components (backend, read and write), maybe it's also known as SSD, not sure. I haven't heard it's deprecated. We just have a weird issue now with hanging read component after some backend unavailability and we are thinking it's good idea to use liveness probe on read component to restart it when it's "hanging". But this "liveness" URL (I use lokiread/loki/api/v1/labels for example) will be unique for reader only and it's better to configure it separately. Any way, thank you for your PR, I will be really happy if it will be merged soon!
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.
Yes, I've seen the same pattern for readiness probes in main, I'm not sure it's the right way to use common settings for all components
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.
Grafana Labs is moving away from recommending SSD mode, so while it's not officially deprecated, it's no longer recommended as a deployment mode because a microservice deployment lets you better scale individual components.
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 the info, @JStickler .
We will check for transition to microservice approach then.
@lindhe I think my suggestion is not actual now, we can close this thread.