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

[kueuectl] Add create resourceflavor command. #2517

Conversation

mbobrovskyi
Copy link
Contributor

@mbobrovskyi mbobrovskyi commented Jul 2, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:

Add kueuectl create resourceflavor command.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

CLI: Added create resourceflavor 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 Jul 2, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 2, 2024
Copy link

netlify bot commented Jul 2, 2024

Deploy Preview for kubernetes-sigs-kueue ready!

Name Link
🔨 Latest commit bc30dc3
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/668c3a2350af2400082fdc32
😎 Deploy Preview https://deploy-preview-2517--kubernetes-sigs-kueue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mbobrovskyi mbobrovskyi changed the title [kueuectl] Adds create resourceflavor command. [kueuectl] Add create resourceflavor command. Jul 2, 2024
@mbobrovskyi mbobrovskyi force-pushed the feature/kueuectl-create-flavor-command branch 3 times, most recently from 6e94c7b to 80b6541 Compare July 3, 2024 08:05
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 3, 2024
@mbobrovskyi mbobrovskyi force-pushed the feature/kueuectl-create-flavor-command branch from 80b6541 to ee73ad5 Compare July 3, 2024 08:34
@mbobrovskyi
Copy link
Contributor Author

/test all

@mbobrovskyi mbobrovskyi force-pushed the feature/kueuectl-create-flavor-command branch 5 times, most recently from 5933747 to 3734acb Compare July 3, 2024 12:51
@mbobrovskyi mbobrovskyi marked this pull request as ready for review July 3, 2024 12:51
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 3, 2024
@mbobrovskyi
Copy link
Contributor Author

/assign @trasc

cmd/kueuectl/app/create/create_resourceflavor.go Outdated Show resolved Hide resolved
cmd/kueuectl/app/create/create_resourceflavor.go Outdated Show resolved Hide resolved
cmd/kueuectl/app/create/create_resourceflavor.go Outdated Show resolved Hide resolved
cmd/kueuectl/app/create/create_resourceflavor.go Outdated Show resolved Hide resolved
cmd/kueuectl/app/create/create_resourceflavor.go Outdated Show resolved Hide resolved
keps/2076-kueuectl/README.md Outdated Show resolved Hide resolved
keps/2076-kueuectl/README.md Outdated Show resolved Hide resolved
@mbobrovskyi mbobrovskyi force-pushed the feature/kueuectl-create-flavor-command branch 3 times, most recently from 24ba393 to 0b2a918 Compare July 4, 2024 17:42
@mbobrovskyi mbobrovskyi force-pushed the feature/kueuectl-create-flavor-command branch 2 times, most recently from 8b97a84 to 819f77a Compare July 8, 2024 06:52
@mbobrovskyi
Copy link
Contributor Author

/cc @alculquicondor

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 for minor comments

Comment on lines 93 to 94
"[--taints KEY=VALUE:EFFECT] " +
"[--taints KEY[=VALUE]:EFFECT] " +
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"[--taints KEY=VALUE:EFFECT] " +
"[--taints KEY[=VALUE]:EFFECT] " +
"[--node-taints KEY[=VALUE]:EFFECT] " +


cmd.Flags().StringToStringVar(&o.NodeLabels, nodeLabelsFlagName, nil,
"Labels that associate the ResourceFlavor with Nodes that have the same labels.")
cmd.Flags().StringSliceVar(&o.UserSpecifiedTaints, taintsFlagName, nil,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
cmd.Flags().StringSliceVar(&o.UserSpecifiedTaints, taintsFlagName, nil,
cmd.Flags().StringSliceVar(&o.NodeTaints, taintsFlagName, nil,

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alculquicondor, mbobrovskyi

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 8, 2024
@alculquicondor
Copy link
Contributor

/hold cancel
(I'll leave the LGTM to @trasc)

@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 Jul 8, 2024
@mbobrovskyi mbobrovskyi force-pushed the feature/kueuectl-create-flavor-command branch from 819f77a to bc30dc3 Compare July 8, 2024 19:12
@alculquicondor
Copy link
Contributor

/lgtm
/retest

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

LGTM label has been added.

Git tree hash: 971a553e8251e52e0c3e507aeb55274a31a97752

@k8s-ci-robot k8s-ci-robot merged commit fe5d6e2 into kubernetes-sigs:main Jul 8, 2024
16 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.8 milestone Jul 8, 2024
@mbobrovskyi mbobrovskyi deleted the feature/kueuectl-create-flavor-command branch July 8, 2024 20:23
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/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants