Skip to content
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

fix: Remove resource limits for manager container #783

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

svghadi
Copy link
Member

@svghadi svghadi commented Oct 4, 2024

What type of PR is this?
/kind bug

What does this PR do / why we need it:
During the operator-sdk upgrade, we set resource limits for the manager container. However, these limits are causing issues for users, particularly on clusters with a large number of secrets and configmaps, as the operator requires significantly more memory to function, leading to OOM kills. We are currently exploring ways to reduce memory consumption, however, this involves significant effort. Therefore, this PR removes the limits to minimize the impact.

Which issue(s) this PR fixes:

Fixes GITOPS-5665

How to test changes / Special notes to the reviewer:

I have tested this change using the reproducer from JIRA. The operator was functioning properly, consuming over 2GB of memory without any OOM kills.

@openshift-ci openshift-ci bot added the kind/bug Something isn't working label Oct 4, 2024
@svghadi svghadi requested review from anandf, iam-veeramalla and ishitasequeira and removed request for jaideepr97 and reginapizza October 4, 2024 04:59
Copy link
Collaborator

@ishitasequeira ishitasequeira left a comment

Choose a reason for hiding this comment

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

Lgtm!!

Copy link
Member

@anandf anandf left a comment

Choose a reason for hiding this comment

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

LGTM

@iam-veeramalla
Copy link
Collaborator

LGTM, Thanks @svghadi

@iam-veeramalla
Copy link
Collaborator

/lgtm
/approved

@iam-veeramalla
Copy link
Collaborator

/approve

Copy link

openshift-ci bot commented Oct 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iam-veeramalla

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

The pull request process is described here

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

@openshift-ci openshift-ci bot added the approved label Oct 4, 2024
@iam-veeramalla iam-veeramalla merged commit 50d51d1 into redhat-developer:master Oct 4, 2024
22 checks passed
@svghadi svghadi deleted the mem-limit branch October 4, 2024 07:13
@svghadi
Copy link
Member Author

svghadi commented Oct 4, 2024

/cherry-pick v1.14

@openshift-cherrypick-robot

@svghadi: new pull request created: #784

In response to this:

/cherry-pick v1.14

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved kind/bug Something isn't working lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants