Skip to content

[release-4.19] NO-ISSUE: Add memory limit to machine-controller container#1505

Closed
perdasilva wants to merge 1 commit into
openshift:release-4.19from
perdasilva:fix/memory-limit-4.19
Closed

[release-4.19] NO-ISSUE: Add memory limit to machine-controller container#1505
perdasilva wants to merge 1 commit into
openshift:release-4.19from
perdasilva:fix/memory-limit-4.19

Conversation

@perdasilva
Copy link
Copy Markdown

@perdasilva perdasilva commented Jun 3, 2026

Cherry-pick of #1503 to release-4.19.

Summary

  • Add a 512Mi memory limit to the machine-controller container as a safety net against unbounded memory growth from leaked AWS session HTTP transports
  • Only the machine-controller container is affected — other controllers (machineset, healthcheck, nodelink) keep the existing resource spec without a limit
  • Companion fix in machine-api-provider-aws: openshift/machine-api-provider-aws#190

Test Plan

  • make unit passes with race detector (13 suites)
  • make vet and gofmt clean
  • Unit test: machine-controller has 512Mi memory limit
  • Unit test: machine-controller has 20Mi memory request (unchanged)
  • Unit test: other controllers have no memory limit

Set a 512Mi memory limit on the machine-controller container
as a safety net against unbounded memory growth from leaked
AWS session transports. Other controllers are unaffected.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 3, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: eaee8f53-5f6b-40be-85b0-06c47e26455f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@perdasilva perdasilva changed the title Add memory limit to machine-controller container NO-ISSUE: Add memory limit to machine-controller container Jun 3, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 3, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@perdasilva: This pull request explicitly references no jira issue.

Details

In response to this:

Set a 512Mi memory limit on the machine-controller container as a safety net against unbounded memory growth from leaked AWS session transports. Other controllers are unaffected.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@perdasilva
Copy link
Copy Markdown
Author

/hold testing

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 3, 2026
@openshift-ci openshift-ci Bot requested review from elmiko and nrb June 3, 2026 07:31
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign joelspeed for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@perdasilva perdasilva changed the title NO-ISSUE: Add memory limit to machine-controller container [release-4.19] NO-ISSUE: Add memory limit to machine-controller container Jun 3, 2026
@perdasilva perdasilva closed this Jun 3, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2026

@perdasilva: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/goimports da6ebd2 link true /test goimports

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants