-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 CPU usage limitation in play kube for non integer values #15728
Fix CPU usage limitation in play kube for non integer values #15728
Conversation
e235e98
to
6855060
Compare
Wh is this a WIP? |
Just wanted to add a test next day |
I have no idea why test "podman play kube allows setting resource limits" works in CI and doesn't work locally. I mean without my change. This test should fail without my changes but it doesn't with or without my changes. |
6855060
to
5dae966
Compare
Code LGTM, thanks! Please add a test and a reference in the commit message to the previous commit that caused this bug |
This logic has been broken by commit 9c6c981 (kube: fix conversion from milliCPU to period/quota). [NO NEW TESTS NEEDED] Fixes: containers#15726 Signed-off-by: Mikhail Khachayants <[email protected]>
5dae966
to
b8108d0
Compare
Done. Not sure about format, didn't find any related to this in the doc.
I wanted to do it. But I'm surprised that the necessary test already exists - "podman play kube allows setting resource limits". It fails without my changes and is green with my PR on my laptop. But in CI this test is always green. Do you have any idea why? |
/approved |
/lgtm |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, tyler92 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 |
Signed-off-by: Mikhail Khachayants [email protected]
Does this PR introduce a user-facing change?