From bf7ea01617bb78b2ec100d8b0279aa2ca37adc88 Mon Sep 17 00:00:00 2001 From: Andrei Dobre Date: Tue, 22 Jun 2021 09:42:26 +0300 Subject: [PATCH] Update kind to v0.11.1 --- README.md | 2 +- hack/cloud.yaml | 20 ++++++++++---------- hack/gen_kind_config.py | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 5ba0dbf9..404fe8a2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The project uses a [kind](https://kind.sigs.k8s.io/docs/user/quick-start/) clust Requirements: -* `kind`: [v0.10.0](https://github.com/kubernetes-sigs/kind/releases/tag/v0.10.0) +* `kind`: [v0.11.1](https://github.com/kubernetes-sigs/kind/releases/tag/v0.11.1) * `controller-gen` > 0.4 * `kustomize` >= 4.0 diff --git a/hack/cloud.yaml b/hack/cloud.yaml index eb2980dc..3a654f84 100644 --- a/hack/cloud.yaml +++ b/hack/cloud.yaml @@ -2,9 +2,9 @@ kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 - role: worker - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 kubeadmConfigPatches: - | kind: JoinConfiguration @@ -12,7 +12,7 @@ nodes: kubeletExtraArgs: node-labels: "failure-domain.beta.kubernetes.io/zone=eu-central-1a" - role: worker - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 kubeadmConfigPatches: - | kind: JoinConfiguration @@ -20,7 +20,7 @@ nodes: kubeletExtraArgs: node-labels: "failure-domain.beta.kubernetes.io/zone=eu-central-1a" - role: worker - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 kubeadmConfigPatches: - | kind: JoinConfiguration @@ -28,7 +28,7 @@ nodes: kubeletExtraArgs: node-labels: "failure-domain.beta.kubernetes.io/zone=eu-central-1a" - role: worker - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 kubeadmConfigPatches: - | kind: JoinConfiguration @@ -36,7 +36,7 @@ nodes: kubeletExtraArgs: node-labels: "failure-domain.beta.kubernetes.io/zone=eu-central-1b" - role: worker - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 kubeadmConfigPatches: - | kind: JoinConfiguration @@ -44,7 +44,7 @@ nodes: kubeletExtraArgs: node-labels: "failure-domain.beta.kubernetes.io/zone=eu-central-1b" - role: worker - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 kubeadmConfigPatches: - | kind: JoinConfiguration @@ -52,7 +52,7 @@ nodes: kubeletExtraArgs: node-labels: "failure-domain.beta.kubernetes.io/zone=eu-central-1b" - role: worker - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 kubeadmConfigPatches: - | kind: JoinConfiguration @@ -60,7 +60,7 @@ nodes: kubeletExtraArgs: node-labels: "failure-domain.beta.kubernetes.io/zone=eu-central-1c" - role: worker - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 kubeadmConfigPatches: - | kind: JoinConfiguration @@ -68,7 +68,7 @@ nodes: kubeletExtraArgs: node-labels: "failure-domain.beta.kubernetes.io/zone=eu-central-1c" - role: worker - image: kindest/node:v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 + image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 kubeadmConfigPatches: - | kind: JoinConfiguration diff --git a/hack/gen_kind_config.py b/hack/gen_kind_config.py index 98e4a66d..a6c97624 100644 --- a/hack/gen_kind_config.py +++ b/hack/gen_kind_config.py @@ -5,7 +5,7 @@ class ClusterParams: NODE_LAYOUT = [['eu-central-1a']*3, ['eu-central-1b']*3, ['eu-central-1c']*3] ZONE_KEY = 'failure-domain.beta.kubernetes.io/zone' KIND_API_VERSION = 'kind.x-k8s.io/v1alpha4' - KUBERNETES_VERSION = 'v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99' + KUBERNETES_VERSION = 'v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861' def get_node_count(): return len([zone for group in ClusterParams.NODE_LAYOUT for zone in group])