Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "machinepool ID", Aliases: []string{"machinepools", "machine-pool", "machine-pools"}, Short: "Edit machine pool", Long: "Edit machine pools on a cluster.", Example: ` # Set 4 replicas on machine pool 'mp1' on cluster 'mycluster' rosa edit machinepool --replicas=4 --cluster=mycluster mp1 # Enable autoscaling and Set 3-5 replicas on machine pool 'mp1' on cluster 'mycluster' rosa edit machinepool --enable-autoscaling --min-replicas=3 --max-replicas=5 --cluster=mycluster mp1 # Set the node drain grace period to 1 hour on machine pool 'mp1' on cluster 'mycluster' rosa edit machinepool --node-drain-grace-period="1 hour" --cluster=mycluster mp1`, Run: run, Args: func(_ *cobra.Command, argv []string) error { if len(argv) != 1 { return fmt.Errorf( "Expected exactly one command line parameter containing the id of the machine pool", ) } return nil }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.