Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "machinepool", Aliases: []string{"machinepools", "machine-pool", "machine-pools"}, Short: "Add machine pool to cluster", Long: "Add a machine pool to the cluster.", Example: ` # Interactively add a machine pool to a cluster named "mycluster" rosa create machinepool --cluster=mycluster --interactive # Add a machine pool mp-1 with 3 replicas of m5.xlarge to a cluster rosa create machinepool --cluster=mycluster --name=mp-1 --replicas=3 --instance-type=m5.xlarge # Add a machine pool mp-1 with autoscaling enabled and 3 to 6 replicas of m5.xlarge to a cluster rosa create machinepool --cluster=mycluster --name=mp-1 --enable-autoscaling --min-replicas=3 --max-replicas=6 --instance-type=m5.xlarge # Add a machine pool with labels to a cluster rosa create machinepool -c mycluster --name=mp-1 --replicas=2 --instance-type=r5.2xlarge --labels =foo=bar,bar=baz"`, Run: run, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.