Add --control-plane-volume-type flag to kops create cluster#17955
Add --control-plane-volume-type flag to kops create cluster#17955Camila-B wants to merge 1 commit intokubernetes:masterfrom
Conversation
|
Hi @Camila-B. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
53b9b8a to
50f16fc
Compare
|
/assign @hakman |
| allErrs = append(allErrs, field.Invalid(field.NewPath("spec", "warmPool", "minSize"), warmPool.MinSize, "warm pool minSize cannot be negative")) | ||
| } | ||
| } | ||
| //TODO: Add RootVolume validation for other cloud providers ex. GCE |
There was a problem hiding this comment.
Please remove changes to the validation from this PR, can be added separately, if needed.
cmd/kops/create_cluster.go
Outdated
| cmd.Flags().Int32Var(&options.NodeVolumeSize, "node-volume-size", options.NodeVolumeSize, "Instance volume size (in GB) for worker nodes") | ||
|
|
||
| cmd.Flags().StringVar(&options.ControlPlaneVolumeType, "control-plane-volume-type", options.ControlPlaneVolumeType, "Instance volume type for control-plane nodes") | ||
| cmd.RegisterFlagCompletionFunc("control-plane-volume-type", completeStorageType) |
There was a problem hiding this comment.
For now, I don't think this does anything.
There was a problem hiding this comment.
You're right. I removed the line
There was a problem hiding this comment.
Thanks, please see also the other comment, and I think we can merge this. 🙂
hakman
left a comment
There was a problem hiding this comment.
Added a few comments, mostly cleanup. Thanks for the patience.
50f16fc to
3bcc6bc
Compare
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@Camila-B: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
--control-plane-volume-typetokops create cluster#17620--control-plane-volume-typeflag and doesn't add any additional validation for the value passed in