Documentation
¶
Overview ¶
Package cluster implements the 'scale cluster' command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Command performs the "delete cluster" function Command = &cobra.Command{ Use: "cluster", Short: "Scale cluster", Long: `Increase or reduce the number of worker nodes in a cluster. Caution: When reducing the number of nodes, the selection of the node(s) to be removed is non-deterministic. Workloads on the worker nodes to be removed will be terminated, data stored on the worker nodes will be lost. Make sure to remove only as many nodes as your deployment architecture can handle in a resilient way. Examples: gsctl scale cluster c7t2o --workers-min 12 --workers-max 16 gsctl scale cluster c7t2o --workers-min 3 --workers-max 3 gsctl scale cluster c7t2o --num-workers 3 gsctl scale cluster "Cluster name" --num-workers 3 `, PreRun: printValidation, Run: printResult, } )
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { APIEndpoint string AuthToken string ClusterNameOrID string NumWorkersDesired int OppressConfirmation bool Scheme string UserProvidedToken string Verbose bool WorkersMax int64 WorkersMaxSet bool WorkersMin int64 WorkersMinSet bool Workers int WorkersSet bool }
Arguments contains all arguments that influence the business function.
Click to show internal directories.
Click to hide internal directories.