From 0778f1999d728df8974005fcd494c8a93582ef6c Mon Sep 17 00:00:00 2001 From: Serge Logvinov Date: Sun, 18 Sep 2022 14:35:47 +0300 Subject: [PATCH] Update version --- README.md | 4 +-- hetzner/instances-workers.tf | 2 +- scaleway/deployments/test.yaml | 47 ++++++++++++++++++++++++++++ system_os/hetzner/variables.pkr.hcl | 2 +- system_os/scaleway/variables.pkr.hcl | 2 +- 5 files changed, 52 insertions(+), 5 deletions(-) create mode 100644 scaleway/deployments/test.yaml diff --git a/README.md b/README.md index 66b65e6..817e36a 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ The goal is to create all cloud services from scratch. |---|---|---|---|---| | [Azure](azure) | 1.1.0 | CCM,CSI,Autoscaler | many regions, many zones | ✓ | | [GCP](gcp-zonal) | 0.14.0 | CCM,CSI,Autoscaler | one region, many zones | ✓ | -| [Hetzner](hetzner) | 1.1.0 | CCM,CSI,Autoscaler | many regions | ✗ | +| [Hetzner](hetzner) | 1.2.2 | CCM,CSI,Autoscaler | many regions | ✗ | | [Openstack](openstack) | 1.1.0 | CCM,CSI | many regions, many zones | ✓ | | [Oracle](oracle) | 1.0.0 | | many regions, many zones | ✓ | -| [Scaleway](scaleway) | 1.1.0 | CCM,CSI | one region | ✓ | +| [Scaleway](scaleway) | 1.2.2 | CCM,CSI | one region | ✓ | ## Common diff --git a/hetzner/instances-workers.tf b/hetzner/instances-workers.tf index f53eeac..1580267 100644 --- a/hetzner/instances-workers.tf +++ b/hetzner/instances-workers.tf @@ -17,6 +17,6 @@ module "worker" { vm_params = merge(var.kubernetes, { lbv4 = local.ipv4_vip - labels = "project.io/node-pool=web,node.kubernetes.io/disktype=ssd,topology.kubernetes.io/region=${each.key},hcloud/node-group=worker-${each.key}" + labels = "project.io/node-pool=worker,node.kubernetes.io/disktype=ssd,topology.kubernetes.io/region=${each.key},hcloud/node-group=worker-${each.key}" }) } diff --git a/scaleway/deployments/test.yaml b/scaleway/deployments/test.yaml new file mode 100644 index 0000000..9480195 --- /dev/null +++ b/scaleway/deployments/test.yaml @@ -0,0 +1,47 @@ +apiVersion: v1 +kind: Pod +metadata: + name: ubuntu + namespace: kube-system +spec: + hostname: ubuntu + hostPID: true + hostNetwork: true + containers: + - image: ubuntu + command: + - sleep + - "14d" + name: ubuntu + securityContext: + privileged: true + volumeMounts: + - name: dev + mountPath: /dev + - name: root + mountPath: /mnt/root + readOnly: true + - mountPath: /lib/modules + name: lib-modules + readOnly: true + - name: tmp + mountPath: /tmp + priorityClassName: system-node-critical + tolerations: + - operator: Exists + - key: node.kubernetes.io/disk-pressure + operator: Exists + effect: NoSchedule + volumes: + - name: dev + hostPath: + path: /dev + - name: root + hostPath: + path: / + - hostPath: + path: /lib/modules + name: lib-modules + - name: tmp + emptyDir: + medium: Memory diff --git a/system_os/hetzner/variables.pkr.hcl b/system_os/hetzner/variables.pkr.hcl index d515a74..1f494e1 100644 --- a/system_os/hetzner/variables.pkr.hcl +++ b/system_os/hetzner/variables.pkr.hcl @@ -7,7 +7,7 @@ variable "hcloud_token" { variable "talos_version" { type = string - default = "v1.1.2" + default = "v1.2.2" } locals { diff --git a/system_os/scaleway/variables.pkr.hcl b/system_os/scaleway/variables.pkr.hcl index a432152..66ae423 100644 --- a/system_os/scaleway/variables.pkr.hcl +++ b/system_os/scaleway/variables.pkr.hcl @@ -23,7 +23,7 @@ variable "scaleway_zone" { variable "talos_version" { type = string - default = "v1.2.0" + default = "v1.2.2" } locals {