From 16505427351908d3a7dfd9dc5d06a251a7eee01d Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Fri, 20 Oct 2023 10:38:50 +0200 Subject: [PATCH] chore: upgrade cluster --- infrastructure/versions.tf | 2 +- infrastructure/vms.auto.tfvars | 8 ++++++++ k8s/inventory/clusters.yaml | 2 +- k8s/roles/k3s/control-plane/files/traefik.yaml | 2 +- k8s/setup_concourse_workers.yaml | 5 ----- 5 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 k8s/setup_concourse_workers.yaml diff --git a/infrastructure/versions.tf b/infrastructure/versions.tf index 634139d..c314937 100644 --- a/infrastructure/versions.tf +++ b/infrastructure/versions.tf @@ -13,7 +13,7 @@ terraform { required_providers { hcloud = { source = "hetznercloud/hcloud" - version = "1.41.0" + version = "1.44.1" } ct = { source = "poseidon/ct" diff --git a/infrastructure/vms.auto.tfvars b/infrastructure/vms.auto.tfvars index 806ab82..5477053 100644 --- a/infrastructure/vms.auto.tfvars +++ b/infrastructure/vms.auto.tfvars @@ -15,6 +15,14 @@ k3os_workers = { location = "fsn1" } + "w2-cax21-hel1-gen5" = { + backups = false + node_type = "worker" + server_type = "cax21" + private_ip = "172.23.2.24" + location = "hel1" + } + "worker3-gen4" = { backups = false node_type = "worker" diff --git a/k8s/inventory/clusters.yaml b/k8s/inventory/clusters.yaml index 09cdac0..aa1d347 100644 --- a/k8s/inventory/clusters.yaml +++ b/k8s/inventory/clusters.yaml @@ -14,4 +14,4 @@ all: ansible_host: "95.216.168.169" k8s_ip: "172.23.2.10" vars: - k3s_version: v1.27.3+k3s1 \ No newline at end of file + k3s_version: v1.28.2+k3s1 \ No newline at end of file diff --git a/k8s/roles/k3s/control-plane/files/traefik.yaml b/k8s/roles/k3s/control-plane/files/traefik.yaml index 19ac223..047175e 100644 --- a/k8s/roles/k3s/control-plane/files/traefik.yaml +++ b/k8s/roles/k3s/control-plane/files/traefik.yaml @@ -6,7 +6,7 @@ metadata: spec: chart: traefik repo: https://traefik.github.io/charts - version: 23.1.0 + version: 24.0.0 valuesContent: |- ports: web: diff --git a/k8s/setup_concourse_workers.yaml b/k8s/setup_concourse_workers.yaml deleted file mode 100644 index b1ceaf8..0000000 --- a/k8s/setup_concourse_workers.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: Prepare nodes - hosts: concourse_workers - roles: - - role: concourse-worker \ No newline at end of file