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

Add create clusterqueue command #2201

Merged

Conversation

IrvingMg
Copy link
Contributor

@IrvingMg IrvingMg commented May 15, 2024

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?

CLI: Adds create clusterqueue command.

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. labels May 15, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 15, 2024
Copy link

netlify bot commented May 15, 2024

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit 9774468
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/66699734a3f79200087c5918

@IrvingMg
Copy link
Contributor Author

/test all

@IrvingMg IrvingMg force-pushed the feature/kueuectl-create-clusterqueue branch from 5cf6b77 to befd007 Compare May 15, 2024 07:05
@IrvingMg
Copy link
Contributor Author

/test all

@trasc
Copy link
Contributor

trasc commented May 15, 2024

/assign

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 15, 2024
@IrvingMg
Copy link
Contributor Author

/test all

@IrvingMg
Copy link
Contributor Author

/test pull-kueue-test-integration-main

Copy link
Contributor

@trasc trasc left a 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

cmd/kueuectl/app/create/create_clusterqueue.go Outdated Show resolved Hide resolved
@IrvingMg IrvingMg marked this pull request as ready for review May 17, 2024 10:31
@k8s-ci-robot k8s-ci-robot requested a review from trasc May 30, 2024 12:26
Copy link
Contributor

@trasc trasc left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 4, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 34a8eec2e5c5f3d01ef9e6a709b008e4c87f1f59

@alculquicondor
Copy link
Contributor

I'll leave the LGTM to @mwielgus

@trasc
Copy link
Contributor

trasc commented Jun 7, 2024

/retest

1 similar comment
@trasc
Copy link
Contributor

trasc commented Jun 12, 2024

/retest

@trasc
Copy link
Contributor

trasc commented Jun 12, 2024

One review was done by @mwielgus in the past and all the points ware addressed. We can have a follow-up if something is still missing.

/approve

Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

just nit
Otherwise lgtm

cmd/kueuectl/app/create/create_clusterqueue.go Outdated Show resolved Hide resolved
@tenzen-y
Copy link
Member

/hold for comments
/approve

leave lgtm on @trasc

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 12, 2024
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 12, 2024
@tenzen-y
Copy link
Member

Thanks!
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 12, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 20b02b1124d646a2840d027acca31de89522e794

Copy link
Contributor

@alculquicondor alculquicondor left a comment

Choose a reason for hiding this comment

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

/approve
/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 12, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alculquicondor, IrvingMg, tenzen-y, trasc

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:
  • OWNERS [alculquicondor,tenzen-y]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 8c93b9c into kubernetes-sigs:main Jun 12, 2024
16 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.8 milestone Jun 12, 2024
@IrvingMg IrvingMg deleted the feature/kueuectl-create-clusterqueue branch June 17, 2024 10:26
Fiona-Waters pushed a commit to Fiona-Waters/kueue that referenced this pull request Jun 25, 2024
* Add create clusterqueue command

* Use ClientGetter from utils

* Add unit tests for resource quotas parsing

* Use flavorQuota wrapper for testing

* Fix test case for unordered resources list

* Validate resource groups

* Validate quota params

* Use Map function to cast slice

* Make command usage message consistent with examples

* Allow some special chars in resource name

* Update create command examples

* Replace error creation

* Change validate method visibility
@alculquicondor
Copy link
Contributor

/release-note-edit

CLI: Adds create clusterqueue command.

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[kueuectl] Allow create ClusterQueue
8 participants