Skip to content

Commit

Permalink
Merge pull request #1534 from janfrederik/doc/sys_upgrade_controller_…
Browse files Browse the repository at this point in the history
…version

Update doc, default values and kube.tf with recent changes to cluster_autoscaler_version, initial_k3s_channel and var sys_upgrade_controller_version
  • Loading branch information
mysticaltech authored Nov 7, 2024
2 parents 8cc8b31 + a0a3d2b commit a83dc0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion kube.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ module "kube-hetzner" {
# Example:
#
# cluster_autoscaler_image = "registry.k8s.io/autoscaling/cluster-autoscaler"
# cluster_autoscaler_version = "v1.30.1"
# cluster_autoscaler_version = "v1.30.3"
# cluster_autoscaler_log_level = 4
# cluster_autoscaler_log_to_stderr = true
# cluster_autoscaler_stderr_threshold = "INFO"
Expand Down Expand Up @@ -423,6 +423,8 @@ module "kube-hetzner" {

# To enable Hetzner Storage Box support, you can enable csi-driver-smb, default is "false".
# enable_csi_driver_smb = true
# If you want to specify the version for csi-driver-smb, set it below - otherwise it'll use the latest version available.
# csi_driver_smb_version = "v1.16.0"

# To enable iscid without setting enable_longhorn = true, set enable_iscsid = true. You will need this if
# you install your own version of longhorn outside of this module.
Expand Down Expand Up @@ -603,6 +605,9 @@ module "kube-hetzner" {
# The default is "stable".
# initial_k3s_channel = "stable"

# Allows to specify the version of the System Upgrade Controller for automated upgrades of k3s
# sys_upgrade_controller_version = "v0.14.2"

# The cluster name, by default "k3s"
# cluster_name = ""

Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ variable "cluster_autoscaler_image" {

variable "cluster_autoscaler_version" {
type = string
default = "v1.31.1"
default = "v1.30.3"
description = "Version of Kubernetes Cluster Autoscaler for Hetzner Cloud. Should be aligned with Kubernetes version"
}

Expand Down Expand Up @@ -1135,5 +1135,5 @@ variable "keep_disk_cp" {
variable "sys_upgrade_controller_version" {
type = string
default = "v0.14.2"
description = "Whether to keep OS disks of nodes the same size when upgrading a control-plane node"
description = "Version of the System Upgrade Controller for automated upgrades of k3s"
}

0 comments on commit a83dc0a

Please sign in to comment.