Overview of clusterctl
The clusterctl CLI tool handles the lifecycle of a Cluster API management cluster.
The clusterctl command line interface is specifically designed for providing a simple “day 1 experience” and a
quick start with Cluster API. It automates fetching the YAML files defining provider components and installing them.
Additionally it encodes a set of best practices in managing providers, that helps the user in avoiding mis-configurations or in managing day 2 operations such as upgrades.
-
use
clusterctl initto install Cluster API providers -
use
clusterctl upgradeto upgrade Cluster API providers -
use
clusterctl deleteto delete Cluster API providers -
use
clusterctl generate clusterto spec out workload clusters -
use
clusterctl generate yamlto process yaml -
use
clusterctl get kubeconfigto get the kubeconfig of an existing workload cluster. using clusterctl’s internal yaml processor. -
use
clusterctl moveto migrate objects defining a workload clusters (e.g. Cluster, Machines) from a management cluster to another management cluster -
use
clusterctl alpha rolloutto rollout Cluster API resources such as MachineDeployments. Note that this is currently an alpha level feature.