Skip to content

fix: bump controller manager memory limit from 128Mi to 192Mi#127

Merged
stevenolen merged 2 commits intomainfrom
bump-controller-memory-limit
Apr 28, 2026
Merged

fix: bump controller manager memory limit from 128Mi to 192Mi#127
stevenolen merged 2 commits intomainfrom
bump-controller-memory-limit

Conversation

@stevenolen
Copy link
Copy Markdown
Contributor

Description

The controller manager pod was OOMKilling in production. This increases the default memory limit from 128Mi to 192Mi to provide additional headroom.

Category of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have run just test and all tests pass
  • I have reviewed my own diff and added inline comments on lines I want reviewers to focus on or that I am uncertain about

The controller manager pod was OOMKilling in production. Increase the
default memory limit to 192Mi to provide headroom.
@claude
Copy link
Copy Markdown

claude Bot commented Apr 15, 2026

Claude finished @stevenolen's task —— View job


Reviewing PR

  • Read review guidelines
  • Analyze diff and changed files
  • Submit review

Review submitted. Key finding: config/default/manager_auth_proxy_patch.yaml bumps the kube-rbac-proxy sidecar's memory limit (not the manager container) — the other three files correctly target the manager. Flagged for the author to confirm intent.

@stevenolen stevenolen marked this pull request as ready for review April 15, 2026 19:42
@stevenolen stevenolen requested review from amdove and timtalbot April 15, 2026 19:43
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: bump controller manager memory limit

Helm Chart Checklist:

  • Values have sensible defaults — 192Mi is a reasonable bump from 128Mi
  • README updated to reflect the new default
  • All four files are consistent at 192Mi

One observation:

In config/default/manager_auth_proxy_patch.yaml:47, the 128→192Mi change applies to the kube-rbac-proxy sidecar container, not the manager container (which starts at line 51). The other three files (config/manager/manager.yaml, dist/chart/values.yaml, dist/chart/README.md) all change the manager container's limit.

Was the proxy sidecar also OOMing, or was this an unintentional inclusion? If the OOM was only on the manager process, this change to the proxy is unnecessary (though harmless). Worth confirming intent.

Self-review note: The PR checklist shows just test hasn't been checked off — please confirm tests pass before merge.

The 192Mi bump was mistakenly applied to the kube-rbac-proxy sidecar
instead of the manager container. Revert the proxy limit back to 128Mi.
@stevenolen stevenolen enabled auto-merge April 16, 2026 13:32
@stevenolen stevenolen added this pull request to the merge queue Apr 28, 2026
Merged via the queue into main with commit cd40dc0 Apr 28, 2026
8 checks passed
@stevenolen stevenolen deleted the bump-controller-memory-limit branch April 28, 2026 20:02
ian-flores pushed a commit that referenced this pull request Apr 28, 2026
## [1.23.3](v1.23.2...v1.23.3) (2026-04-28)

### Bug Fixes

* bump controller manager memory limit from 128Mi to 192Mi ([#127](#127)) ([cd40dc0](cd40dc0))
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.

2 participants