kk upgade: Upgrade your cluster smoothly to a newer version with this command.
Upgrade your cluster smoothly to a newer version with this command.
Path to a KubeKey artifact.
Print detailed information. The default is false
.
The user defined command to download the necessary binary files. The first param %s
is output path, the second param %s
, is the URL. The default is curl -L -o %s %s
.
Path to a configuration file.
Ignore the error message, remove the host which reported error and force to continue. The default is false
.
Skip pre pull images. The default is false
.
Specify a supported version of kubernetes. It will override the version of kubernetes in the config file.
Deploy a specific version of kubesphere. It will override the kubesphere ClusterConfiguration
in the config file with the default value.
Skip confirm check. The default is false
.
Upgrade an all-in-one
Kubernetes cluster from a specified version.
$ kk upgrade --with-kubernetes v1.22.0
Upgrade a cluster from a specified configuration file.
$ kk upgrade -f config-example.yaml
Upgrade a cluster using a KubeKey artifact (in an offline enviroment).
$ kk upgrade -f config-example.yaml -a kubekey-artifact.tar.gz