-
Notifications
You must be signed in to change notification settings - Fork 3.8k
feat: add startupProbe to config-reloader #7575
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: add startupProbe to config-reloader #7575
Conversation
|
Thanks for the submission! Can you also add prometheus-operator/cmd/operator/main.go Line 158 in 71db25c
|
2620601 to
f70c5dc
Compare
Yes @simonpasquier, great catch to make sure that the config flag is documented properly. Apologies for missing that. |
simonpasquier
left a comment
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.
Thanks!
|
ah you'll need to regenerate the documentation running |
This is for GitHub issue prometheus-operator#7494. Adds startup probe to the config-reloader sidecar for Prometheus containers. Only takes affect if the --enable-config-reloader-probes flag is set on the prometheus-operator pod for the config-reloader container.
f70c5dc to
adf64aa
Compare
simonpasquier
left a comment
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.
Thanks!
Description
This is for GitHub issue #7494.
Adds startup probe to the config-reloader sidecar for Prometheus pods. Only takes affect if the --enable-config-reloader-probes flag is set on the prometheus-operator pod.
Type of change
What type of changes does your code introduce to the Prometheus operator? Put an
xin the box that apply.CHANGE(fix or feature that would cause existing functionality to not work as expected)FEATURE(non-breaking change which adds functionality)BUGFIX(non-breaking change which fixes an issue)ENHANCEMENT(non-breaking change which improves existing functionality)NONE(if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)Verification
Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.
Unit tests pass. Local build of prometheus-operator in a local kind cluster passes.
Changelog entry
Startup probe added to config-reloader sidecar if --enable-config-reloader-probes set.