From 51d5f4fb9e1c6605a3383f8613556b46ec25e7df Mon Sep 17 00:00:00 2001 From: Vito Botta Date: Fri, 30 Aug 2024 17:05:37 +0300 Subject: [PATCH] Use Hetzner autoscaler image --- src/hetzner-k3s.cr | 2 +- src/kubernetes/software/cluster_autoscaler.cr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hetzner-k3s.cr b/src/hetzner-k3s.cr index 5f0fb68..5fc4166 100644 --- a/src/hetzner-k3s.cr +++ b/src/hetzner-k3s.cr @@ -8,7 +8,7 @@ require "./cluster/upgrade" module Hetzner::K3s class CLI < Admiral::Command - VERSION = "2.0.6" + VERSION = "2.0.7" class Create < Admiral::Command define_help description: "create - Create a cluster" diff --git a/src/kubernetes/software/cluster_autoscaler.cr b/src/kubernetes/software/cluster_autoscaler.cr index ab5f276..40b746d 100644 --- a/src/kubernetes/software/cluster_autoscaler.cr +++ b/src/kubernetes/software/cluster_autoscaler.cr @@ -100,7 +100,7 @@ class Kubernetes::Software::ClusterAutoscaler end private def patch_autoscaler_container(autoscaler_container) - autoscaler_container.image = "registry.k8s.io/autoscaling/cluster-autoscaler:v1.30.2" + autoscaler_container.image = "docker.io/hetznercloud/cluster-autoscaler:v1.31.0-hcloud1" autoscaler_container.command = container_command set_container_environment_variable(autoscaler_container, "HCLOUD_CLOUD_INIT", Base64.strict_encode(cloud_init))