-
Notifications
You must be signed in to change notification settings - Fork 65
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
Added more memory tier with proper resource access #969
Conversation
Signed-off-by: Bama Charan Kundu <bamachrn@gmail.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bamachrn The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @bamachrn. Thanks for your PR. I'm waiting for a codeready-toolchain member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like there are problems with unit tests for this PR.
content, err := assets.Asset(templatePath) | ||
require.NoError(t, err) | ||
expected := templatev1.Template{} | ||
_, _, err = decoder.Decode(content, nil, &expected) | ||
require.NoError(t, err) | ||
// then override the templates' parameters (if applicable) | ||
if basedOnOtherTier(expectedTiers, tier) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why this is needed. Could you please comment on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this comes from my contribution to #944 but I don't recall all the details :/
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please answer why you changed the templates in test/templates/
folder?
There is no point in changing that right? It's not a problem that they don't align with the actual ones - they are just testing "dummy" templates.
@@ -39,7 +39,6 @@ objects: | |||
scopes: | |||
- NotTerminating | |||
hard: | |||
limits.cpu: "20" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you sure that you want to remove the quota for cpu limits completely?
This PR hasn't been updated for a long time and there are a tons of conflicts. Closing it... |
This is replacement of PR #944