You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/cmd/cluster/scale.go
+2-9Lines changed: 2 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,6 @@ match.`,
58
58
cmd.Flags().Var(new(resource.ByteQuantity), "ram", "RAM per node (e.g. \"8\", \"8G\", \"8Gi\", or \"8GiB\")")
59
59
cmd.Flags().Var(new(resource.ByteQuantity), "disk", "Total disk size per node (e.g. \"200GiB\"); if larger than the node's included disk, the difference is provisioned as additional storage")
60
60
cmd.Flags().Var(new(resource.Millicores), "gpu", "Number of GPUs per node (e.g. \"1\", \"2\", or \"1000m\")")
61
-
cmd.Flags().Bool("multi-az", false, "Schedule nodes in multiple availability zones")
62
61
cmd.Flags().Bool("wait", false, "Wait for the cluster to become healthy")
63
62
cmd.Flags().Duration("wait-timeout", 10*time.Minute, "Maximum time to wait for cluster health")
64
63
cmd.Flags().Duration("wait-poll-interval", 5*time.Second, "How often to poll for cluster health")
@@ -150,17 +149,12 @@ match.`,
150
149
}
151
150
152
151
multiAz:=currentPkg.GetPackage().GetMultiAz()
153
-
ifcmd.Flags().Changed("multi-az") {
154
-
multiAz, _=cmd.Flags().GetBool("multi-az")
155
-
}
156
152
157
153
// If no resource flags changed, keep the current package — avoids a
158
154
// ListPackages round-trip and prevents spurious failures when the current
159
155
// package is deprecated or shares specs with another active package.
0 commit comments