Syself is releasing a new version of the ClusterStacks every two to three weeks. These releases may contain minor updates, such as a Kubernetes patch version, or the version of some cluster components or node images.
This guide will detail the process of updating from to v19
.
Check if autoSubscribe
is set to true
or false
in your clusterstack object and follow the steps for your case:
The autoSubscribe
key in the clusterstack object indicates that Syself Autopilot will automatically fetch the latest ClusterStackRelease version and make it available for use.
The latest version is automatically available for you, but you still need to specify the versions in between.
For that, add ["v16","v18"] to the spec.versions
array in your ClusterStack:
You need to specify the ClusterStackRelease versions in between using the spec.versions
array in your ClusterStack object.
The following is the complete (and shortest) tested upgrade path to go from your current version to hetzner-apalla-1-27-v19
:
Check if the ClusterStackReleases
you need are available with:
Note down the values of the NAME
and K8S VERSION
columns from the release you want to upgrade to. In this case, hetzner-apalla-1-27-v19
and v1.27.16
.
Edit your cluster and change the spec.topology.class
and spec.topology.version
to match the NAME
and K8S VERSION
of the ClusterStackRelease, respectively.
This can be achieved either by editing the resource inside the management cluster, or by updating it in your GitOps repository.
Now, your cluster will be updated (with no downtime!) to the cluster stack version you specified.
If you need to udate to another version, wait for the current update process to finish. You can check if it's done by checking the nodes in your cluster:
If you still have old nodes, this means the update is in progress. In this case, wait until the output shows only news nodes.