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

Default to cpms on controlplane resize #643

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/cluster/resize/controlplane_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func newCmdResizeControlPlane() *cobra.Command {
resizeControlPlaneNodeCmd.Flags().StringVar(&ops.newMachineType, "machine-type", "", "The target AWS machine type to resize to (e.g. m5.2xlarge)")
resizeControlPlaneNodeCmd.Flags().StringVar(&ops.node, "node", "", "The control plane node to resize (e.g. ip-127.0.0.1.eu-west-2.compute.internal). Required when not using --cpms.")
resizeControlPlaneNodeCmd.Flags().StringVar(&ops.reason, "reason", "", "The reason for this command, which requires elevation, to be run (usualy an OHSS or PD ticket)")
resizeControlPlaneNodeCmd.Flags().BoolVar(&ops.cpms, "cpms", false, "Set this flag to leverage control plane machine sets to resize the control plane")
resizeControlPlaneNodeCmd.Flags().BoolVar(&ops.cpms, "cpms", true, "Set this flag to leverage control plane machine sets to resize the control plane")
resizeControlPlaneNodeCmd.MarkFlagRequired("cluster-id")
resizeControlPlaneNodeCmd.MarkFlagRequired("machine-type")
resizeControlPlaneNodeCmd.MarkFlagRequired("reason")
Expand Down