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: Increase kubeval job memory request to 4GB #2764

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

mimotej
Copy link
Member

@mimotej mimotej commented Mar 15, 2023

As the bump to 1 GB in #2761 does not seem to be enough (as can be seen in #2759, which is still being OOMKilled) and from testing which I did it seems that kubeval can use more than 2 GB, I am bumping this value to 4GB to have some reserve.

Reason why this is happening is that kubeval caches in memory schemas which it might need for the validation. These schemas are regularly updated in schema-store and I suspect that lately there has been some change that impacted size of the schemas dramatically. This means that also size that is cached increased.

@sesheta sesheta added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 15, 2023
@mimotej
Copy link
Member Author

mimotej commented Mar 15, 2023

/cc @tumido

@sesheta sesheta requested a review from tumido March 15, 2023 07:18
@goern
Copy link
Member

goern commented Mar 15, 2023

/lgtm
/approve

@sesheta sesheta added the lgtm Indicates that a PR is ready to be merged. label Mar 15, 2023
@goern
Copy link
Member

goern commented Mar 15, 2023

/assign @tumido

Copy link
Member

@tumido tumido left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
/ok-to-test

@sesheta
Copy link
Member

sesheta commented Mar 15, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: goern, tumido

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

@sesheta sesheta added approved Indicates a PR has been approved by an approver from all required OWNERS files. ok-to-test labels Mar 15, 2023
@sesheta sesheta merged commit bd6b62e into operate-first:master Mar 15, 2023
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. lgtm Indicates that a PR is ready to be merged. ok-to-test size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants