Skip to content

fix(monitoring): apply operator requests under the chart's prometheusOperator key - #21468

Merged
Git-on-my-level merged 1 commit into
mainfrom
fix/monitoring-operator-values-key
Oct 14, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
fix/monitoring-operator-values-key

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Summary

#21455 placed the Prometheus operator's resource requests under a top-level operator: key. kube-prometheus-stack reads prometheusOperator, and it ignores unknown keys silently. After the 2026-10-14 07:00Z monitoring rollout (Helm revision 23), the operator was still BestEffort with resources: {}, and its liveness-probe restarts continued: 49 so far.

This PR renames the key. helm template with 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.py checks two things:

  • every top-level key in the prod values file is one the chart reads;
  • the operator has CPU and memory requests.

Apply

Dispatch gcp_cloud_run_metrics_egress.yml with 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

View guided diff Turn on auto-fix

…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]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@Git-on-my-level
Git-on-my-level merged commit f0d1b54 into main Oct 14, 2026
62 checks passed
@Git-on-my-level
Git-on-my-level deleted the fix/monitoring-operator-values-key branch October 14, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant