Last modified October 15, 2026
'kubectl gs update cluster' command reference (cluster upgrades)
This command’s purpose is to modify details of a workload cluster. Currently it allows to upgrade a workload cluster to a newer release.
Usage
Upgrading a workload cluster
Note: This feature is currently only working when the cluster configuration is not stored via GitOps.
Upgrades can either be triggered immediately, or the upgrade can be scheduled to happen at a specific date and time.
The following example shows how to upgrade a workload cluster to the release specified via the --release-version flag.
kubectl gs update cluster \
--provider capa \
--namespace org-acme \
--name a1b2c \
--release-version 26.2.0
To schedule a workload cluster upgrade in the future, the --scheduled-time flag is used, like in the example below:
kubectl gs update cluster \
--provider capa \
--name a1b2c \
--namespace org-acme \
--release-version 29.0.0 \
--scheduled-time "2024-08-28 12:10"
This adds annotations to the cluster resource, triggering the upgrade to the specified version at the scheduled time.
Flags
--provider- The infrastructure provider of the installation,capa,capz,vsphere, orcloud-director.--name- Name of the cluster.--namespace- Namespace of the cluster resource.--release-version- Version of the release the cluster should be upgraded to.--scheduled-time(optional): Scheduled time when the cluster should be updated, in the formatYYYY-MM-DD HH:MM. Timezone UTC is assumed. If not given, the upgrade happens as soon as possible.
Related
kubectl gs login- Ensure an authenticated kubectl context.cluster-upgrades- Cluster upgrades.
Need help, got feedback?
We listen to your Slack support channel. You can also reach us at support@giantswarm.io. And of course, we welcome your pull requests!