Add a new ClusterStack
and HetznerClusterStackReleaseTemplate
for the newer Kubernetes minor version:
Apply it to the cluster with your tool of choice and the node images for the new version will start to build.
The build process takes around 5 minutes. If you are curious or think something went wrong, you can take a look at the status of the newly created ClusterStack object.
The next step is to is to check the available ClusterStackReleases
:
Note down the values of the NAME
and K8S VERSION
columns from the release you want to upgrade to.
Now we edit our cluster and change the spec.topology.class
and spec.topology.version
to match the NAME
and K8S VERSION
of our cluster stack release:
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 new Kubernetes minor version.
If you are no longer using the old ClusterStack
and HetznerClusterStackReleaseTemplate
anymore, you can remove them now.