Skip to content

Releases: vitobotta/hetzner-k3s

v2.4.3

06 Dec 14:26
ab99347

Choose a tag to compare

New

  • Added CI Workflow to build code on PRs. This allows contributors to get their code compiled on their PRs. - by @artem-zinnatullin

Fixes

  • Added pagination support for the Server Types API. This change fixes a problem that was stopping people from creating nodes with the new instance types that Hetzner recently introduced. - by @artem-zinnatullin

Improvements

  • Moved settings for the manifest URLs, cluster autoscaler, embedded registry mirror and local path storage class to the relevant addon sections in the configuration file. - by @KaulSe

Other updates

  • Upgraded default Hetzner CSI driver version to v2.18.3
  • Upgraded default Hetzner Cloud Controller Manager version to v1.28.0
  • Upgraded default Cluster Autoscaler version to v1.34.2
  • Upgraded default System Upgrade Controller version to v0.18.0

Upgrading

  • If you have specified some custom manifest URLs in the manifests section of the configuration file, you need to move each of them to the relevant addon section:
    • manifests.cloud_controller_manager_manifest_url -> addons.cloud_controller_manager.manifest_url
    • manifests.csi_driver_manifest_url -> addons.csi_driver.manifest_url
    • manifests.system_upgrade_controller_deployment_manifest_url -> addons.system_upgrade_controller.deployment_manifest_url
    • manifests.system_upgrade_controller_crd_manifest_url -> addons.system_upgrade_controller.crd_manifest_url
    • manifests.cluster_autoscaler_manifest_url -> addons.cluster_autoscaler.manifest_url
    • manifests.cluster_autoscaler_container_image_tag -> addons.cluster_autoscaler.container_image_tag
  • The cluster_autoscaler section has been moved from the root of the config file to addons.cluster_autoscaler. E.g.
    • cluster_autoscaler.scan_interval is now addons.cluster_autoscaler.scan_interval, and so on.
  • The embedded_registry_mirror section has been moved from the root of the configuration file to addons. E.g.
    • embedded_registry_mirror.enabled is now addons.embedded_registry_mirror.enabled
  • The local_path_storage_class section has been moved from the root of the config file to addons. E.g.
    • local_path_storage_class.enabled is now addons.local_path_storage_class.enabled
  • If you haven't specified the manifest URL for the Hetzner Cloud Controller Manager, you need to follow the instructions in this page to finalize the upgrade of CCM to v1.28.0. In particular, you'll need to delete an old ClusterRoleBinding that is no longer needed with the new CCM version.

v2.4.2

24 Oct 16:44
0214c15

Choose a tag to compare

Fixes

  • Added pagination support for the Server Types API. This change fixes a problem that was stopping people from creating nodes with the new instance types that Hetzner recently introduced. - by @artem-zinnatullin

v2.4.1

31 Aug 13:23
162fe01

Choose a tag to compare

New

  • It's now possible to configure custom firewall rules when using the Hetzner firewall. By KaulSe

Fixes

  • Create a temp file for the default Cilium Helm values file if no custom file is given. Before this change, we used stdin instead of a regular file - but that did not work correctly on some platforms. By clouedoc

v2.4.0

10 Aug 21:12
6a9ce9e

Choose a tag to compare

Fixes

  • Fixed a validation that required that all workers stay in the same network zone as the masters, even when the private network is turned off.
  • Fixed a validation that required that all masters stay in the same network zone even when using an external datastore for the Kubernetes control plane

Improvements

  • Fewer k3s server restarts when running the create command again after replacing one master.

v2.3.9

08 Aug 09:39
873fa7c

Choose a tag to compare

Fixes

  • Fixed a problem with labels and taints - it was caused by slashes in their names being escaped twice.
  • Fixed a problem that might have stopped master1 from being replaced in highly available control planes.

Improvements

  • Added a check to make sure the SSH key in the config file stays the same as the one already in Hetzner- if they do not match, it can cause issues when nodes use different keys.

Miscellaneous

  • Defaulted Hetzner CSI driver to version v2.17.0

v2.3.8

04 Aug 17:56
9b87387

Choose a tag to compare

New

  • It is now possible to toggle on/off the installation of
    • Hetzner Cloud Controller manager
    • Hetzner CSI driver
    • Traefik ingress controller
    • ServiceLB
    • metrics-server

See the addons section in the configuration example in this page. - by KaulSe

Improvements

  • The k3s token is now cached for the whole create command process - this helps speed up some steps. Before this update, it was fetched from the masters several times, which made the process a little slower.

v2.3.7

04 Aug 17:10
5992d4a

Choose a tag to compare

Improvements

  • We now stop early when running the create command to update the config on an existing cluster with a highly available control plane - if setting up the first master fails. This helps protect the other masters that may still be working fine from breaking changes.

v2.3.6

02 Aug 20:51
08eed18

Choose a tag to compare

New

  • Added support for off-site etcd snapshots to s3 compatible storage. See the example config file (section datastore.etcd) in this page for the configurable settings.

Upgrading - !!! IMPORTANT !!!

  • See upgrade notes for v2.3.5 if you are upgrading for version v2.3.4 or earlier.

v2.3.5

01 Aug 15:57
ec387d5

Choose a tag to compare

New

  • Added a new "run" command that lets you quickly run a single command or a whole script on all the nodes of the cluster or on just one instance, very quickly and easily. See this page for details.
  • Added a new config setting to turn off the automatic growth of the root partition. This lets you use some of the disk space with Rook Ceph or similar storage solutions. You can find more details on the page "Resizing root partition with additional post k3s commands " in the docs.

Fixes

  • Fixed an issue in SSH configuration introduced by a new version of OpenSSH server that resulted in the nodes not being accessible via SSH
  • Fixed an issue with the validation of the kubeconfig path for the upgrade command

Upgrading - !!! IMPORTANT !!!

  • Because of a problem with a new OpenSSH update, you need to make an important change to a specific file on all nodes of clusters made with hetzner-k3s v2.3.4 or older. I made it possible to do this fix automatically with the new "run" command. Look at this page for detailed information on how to proceed. If you do not apply this fix, there is a risk that the nodes might become unreachable via SSH after the OpenSSH server is upgraded and the nodes have been rebooted. If this has already happened to your cluster, the document also explains how to proceed in that situation to recover SSH access.

v2.3.4

30 Jul 11:36
d1264e8

Choose a tag to compare

New

  • You can now choose the path to the values file when installing the Cilium Helm chart. This gives you more freedom to configure Cilium, instead of being limited to the default settings.

Fixes

  • Fixed a problem from the last release. The problem stopped the Hetzner firewall from being created for new clusters. If you created a cluster with v2.3.3, just rerun the create command with this version to create the missing firewall.
  • Fixed a problem that stopped the firewall from being deleted when a cluster was deleted.

Improvements

  • When the API load balancer is turned on, the context for the load balancer becomes the default context in the kubeconfig.