-
Notifications
You must be signed in to change notification settings - Fork 209
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
Add create clusterqueue command #2201
base: main
Are you sure you want to change the base?
Add create clusterqueue command #2201
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/test all |
5cf6b77
to
befd007
Compare
/test all |
/assign |
/test all |
/test pull-kueue-test-integration-main |
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.
One nit, otherwise LGTM
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
LGTM label has been added. Git tree hash: 368c010db5d0aa55f1e3c79f3d73cb3539aec6c9
|
/assign @alculquicondor |
UserSpecifiedQueueingStrategy string | ||
UserSpecifiedNamespaceSelector map[string]string | ||
UserSpecifiedReclaimWithinCohort string | ||
UserSpecifiedPreemptionWithinClusterQueue string | ||
UserSpecifiedNominalQuota []string | ||
UserSpecifiedBorrowingLimit []string | ||
UserSpecifiedLendingLimit []string |
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.
Is it worth extracting those to Flags, and then convert them to options there?
eg. The responsibility of flags would be to convert itself to options UserSpecifiedQueueingStrategy string -> QueueingStrategy v1beta1.QueueingStrategy
https://github.com/kubernetes/kubectl/blob/0bd9881b18755bc39933f5dea6bf3a219facf2f1/pkg/cmd/wait/wait.go#L135-L139
It's NIT, feel free to skip it
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 think it's similar to what we´re doing in the Complete
function.
In there, the user inputs are being converted/parsed to valid values.
/assign @mwielgus |
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: IrvingMg 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds
kueuectl create clusterqueue
command.Which issue(s) this PR fixes:
Fixes #2113
Special notes for your reviewer:
Does this PR introduce a user-facing change?