Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "machinepool --cluster={NAME|ID|EXTERNAL_ID} --instance-type=TYPE --replicas=N [flags] MACHINE_POOL_ID", Aliases: []string{"machinepools", "machine-pool", "machine-pools"}, Short: "Add machine pool to cluster", Long: "Add a machine pool to the cluster.", Example: ` # Add a machine pool mp-1 with 3 replicas and m5.xlarge instance type to a cluster ocm create machinepool --cluster mycluster --instance-type m5.xlarge --replicas 3 mp-1 # Add a machine pool mp-1 with autoscaling enabled and 3 to 6 replicas of m5.xlarge to a cluster ocm create machinepool --cluster=mycluster --enable-autoscaling \ --min-replicas=3 --max-replicas=6 --instance-type=m5.xlarge mp-1 # Add a machine pool mp-1 with labels and m5.xlarge instance type to a cluster ocm create machinepool --cluster mycluster --instance-type m5.xlarge --replicas 3 --labels "foo=bar,bar=baz" mp-1 # Add a machine pool mp-1 with taints and m5.xlarge instance type to a cluster ocm create machinepool --cluster mycluster --instance-type m5.xlarge --replicas 3 --taints "foo=bar:NoSchedule" mp-1`, RunE: run, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.