Skip to content

Commit

Permalink
Add create clusterqueue command (#2201)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
IrvingMg committed Jun 12, 2024
1 parent 6ecaa87 commit 8c93b9c
Show file tree
Hide file tree
Showing 6 changed files with 1,171 additions and 4 deletions.
1 change: 1 addition & 0 deletions cmd/kueuectl/app/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func NewCreateCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStr
util.AddDryRunFlag(cmd)

cmd.AddCommand(NewLocalQueueCmd(clientGetter, streams))
cmd.AddCommand(NewClusterQueueCmd(clientGetter, streams))

return cmd
}
Loading

0 comments on commit 8c93b9c

Please sign in to comment.