-
Notifications
You must be signed in to change notification settings - Fork 315
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
koord-manager: fix the validating and mutating logic of Pod resources #921
koord-manager: fix the validating and mutating logic of Pod resources #921
Conversation
… Pod resources Signed-off-by: Fansong Zeng <fanster.z@gmail.com>
5f9edbc
to
b33bf1f
Compare
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eahydra 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 |
Codecov ReportBase: 66.63% // Head: 66.58% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #921 +/- ##
==========================================
- Coverage 66.63% 66.58% -0.06%
==========================================
Files 238 240 +2
Lines 27675 27754 +79
==========================================
+ Hits 18442 18479 +37
- Misses 7965 8005 +40
- Partials 1268 1270 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…#921) Signed-off-by: Fansong Zeng <fanster.z@gmail.com>
…koordinator-sh#921) Signed-off-by: Fansong Zeng <fanster.z@gmail.com>
fix the validating and mutating logic of webhook for Pod resources
Signed-off-by: Fansong Zeng fanster.z@gmail.com
Ⅰ. Describe what this PR does
There are some unreasonable constraints on Pod resource descriptions:
This PR will fix these unreasonable restrictions and make Koordinator's resource description fit the kubernetes resource semantics. And fix a panic when limits are set but requests are not set.
Ⅱ. Does this pull request fix one issue?
none
Ⅲ. Describe how to verify it
You could create pod like this: