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

WINC-703: [config] adds controller manager resource limits #2099

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

wgahnagl
Copy link
Contributor

@wgahnagl wgahnagl commented Feb 28, 2024

Adds resource limits for containers, taken from MCO's resource limits.

Testing done on a 4.14 GCP cluster with 10 windows worker node, and a 4.14 platform none cluster, with one windows worker node.

ran make bundle

@wgahnagl wgahnagl changed the title [config] adds controller manager resource limits WINC-703: [config] adds controller manager resource limits Feb 28, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 28, 2024

@wgahnagl: This pull request references WINC-703 which is a valid jira issue.

In response to this:

Adds resource limits for containers, taken from MCO's resource limits.

Testing done on a 4.14 GCP cluster with 10 windows worker node, and a 4.14 platform none cluster, with one windows worker node.

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.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 28, 2024
Copy link
Contributor

@saifshaikh48 saifshaikh48 left a comment

Choose a reason for hiding this comment

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

make bundle might be required to propagate these changes into the CSV

@wgahnagl wgahnagl force-pushed the WMCO-703 branch 2 times, most recently from 8a1aafb to fbfc5cc Compare February 29, 2024 14:46
Copy link
Contributor

@saifshaikh48 saifshaikh48 left a comment

Choose a reason for hiding this comment

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

/lgtm

nit: it's generally good practice to put any commands you ran to generate changes in the commit message, something like "Ran make bundle for CSV changes"

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 29, 2024
Comment on lines 421 to 427
resources:
requests:
cpu: 20m
memory: 50Mi
Copy link
Contributor

Choose a reason for hiding this comment

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

This is good for the requests:, but we need a limit as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The MCO doesn't have a limit set for its resources. Should I check what other operators are using for their limits?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I'd say. requests helps the scheduler to place the pod, and limit is actually what controls the resource boundaries.

@jrvaldes
Copy link
Contributor

jrvaldes commented Mar 1, 2024

make bundle might be required to propagate these changes into the CSV

@wgahnagl Please mention in the PR description that this command ran.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Mar 1, 2024

@wgahnagl: This pull request references WINC-703 which is a valid jira issue.

In response to this:

Adds resource limits for containers, taken from MCO's resource limits.

Testing done on a 4.14 GCP cluster with 10 windows worker node, and a 4.14 platform none cluster, with one windows worker node.

ran make bundle

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.

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 4, 2024
@wgahnagl wgahnagl force-pushed the WMCO-703 branch 3 times, most recently from eb93b50 to 3d01e64 Compare March 4, 2024 20:20
requests:
cpu: 20m
memory: 50Mi
limits:
Copy link
Member

Choose a reason for hiding this comment

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

Switch the order of limits and requests so they are alphabetical which would match what is added to the bundle CSV.

@mansikulkarni96
Copy link
Member

/approve

Copy link
Contributor

openshift-ci bot commented Mar 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mansikulkarni96, wgahnagl

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 Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 5, 2024
Adds resource requests cpu: 20m memory: 50Mi
taken from existing MCO resource requests, and
Adds resource limits cpu: 100m memory:300Mi, found through
testing.
@sebsoto
Copy link
Contributor

sebsoto commented Mar 5, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 5, 2024
@mansikulkarni96
Copy link
Member

/test remaining-required

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 550f476 and 2 for PR HEAD 397e9cf in total

@wgahnagl
Copy link
Contributor Author

wgahnagl commented Mar 6, 2024

/test nutanix-e2e-operator

cp: cannot stat '/tmp/installer/.openshift_install.log': No such file or directory

Retesting to see if this is a flake

Copy link
Contributor

openshift-ci bot commented Mar 6, 2024

@wgahnagl: all tests passed!

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 19bc2c3 into openshift:master Mar 6, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants