Repository navigation
fix(monitoring): apply operator requests under the chart's prometheusOperator key - #21468
Merged
Merged
Conversation
…Operator key #21455 used a top-level operator: key, which kube-prometheus-stack ignores, so prod kept the operator BestEffort. Rename the key and guard top-level keys. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
#21455 placed the Prometheus operator's resource requests under a top-level
operator:key. kube-prometheus-stack readsprometheusOperator, and it ignores unknown keys silently. After the 2026-10-14 07:00Z monitoring rollout (Helm revision 23), the operator was still BestEffort withresources: {}, and its liveness-probe restarts continued: 49 so far.This PR renames the key.
helm templatewith kube-prometheus-stack 75.15.1 now renders the operator Deployment with requests of 50m/64Mi and limits of 250m/256Mi.Guard
tests/unit/test_monitoring_values_chart_keys.pychecks two things:Apply
Dispatch
gcp_cloud_run_metrics_egress.ymlwith environment=prod. Only the operator Deployment changes. Prometheus resources are unchanged, so there is no Prometheus restart.Rollback
helm rollback prod-omi-kube-prometheus-stack 23, which is the current revision.Failure-Class: new
🤖 Generated with Claude Code