From c101ba3dbb8ab29ef214c683f8de224eab501abf Mon Sep 17 00:00:00 2001 From: unchama <11990197+unchama@users.noreply.github.com> Date: Mon, 4 Dec 2023 00:11:09 +0900 Subject: [PATCH] kubeadm.k8s.io/v1beta4 > v1beta3 --- .../roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml | 2 +- .../12-kubeadm-join-wk/tasks/templates/join_kubeadm_wk.yaml | 2 +- .../cluster-boot-up/scripts/nodes/k8s-node-setup.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/seichi-onp-k8s/cluster-boot-up/ansible/roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml b/seichi-onp-k8s/cluster-boot-up/ansible/roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml index 331655b2d..74e9c13c9 100644 --- a/seichi-onp-k8s/cluster-boot-up/ansible/roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml +++ b/seichi-onp-k8s/cluster-boot-up/ansible/roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml @@ -3,7 +3,7 @@ kind: KubeletConfiguration cgroupDriver: "systemd" protectKernelDefaults: true --- -apiVersion: kubeadm.k8s.io/v1beta4 +apiVersion: kubeadm.k8s.io/v1beta3 kind: JoinConfiguration nodeRegistration: criSocket: "unix:///var/run/containerd/containerd.sock" diff --git a/seichi-onp-k8s/cluster-boot-up/ansible/roles/12-kubeadm-join-wk/tasks/templates/join_kubeadm_wk.yaml b/seichi-onp-k8s/cluster-boot-up/ansible/roles/12-kubeadm-join-wk/tasks/templates/join_kubeadm_wk.yaml index 1db412aa0..a80e28a07 100644 --- a/seichi-onp-k8s/cluster-boot-up/ansible/roles/12-kubeadm-join-wk/tasks/templates/join_kubeadm_wk.yaml +++ b/seichi-onp-k8s/cluster-boot-up/ansible/roles/12-kubeadm-join-wk/tasks/templates/join_kubeadm_wk.yaml @@ -3,7 +3,7 @@ kind: KubeletConfiguration cgroupDriver: "systemd" protectKernelDefaults: true --- -apiVersion: kubeadm.k8s.io/v1beta4 +apiVersion: kubeadm.k8s.io/v1beta3 kind: JoinConfiguration nodeRegistration: criSocket: "unix:///var/run/containerd/containerd.sock" diff --git a/seichi-onp-k8s/cluster-boot-up/scripts/nodes/k8s-node-setup.sh b/seichi-onp-k8s/cluster-boot-up/scripts/nodes/k8s-node-setup.sh index ca4bc450b..c0a62f0c7 100644 --- a/seichi-onp-k8s/cluster-boot-up/scripts/nodes/k8s-node-setup.sh +++ b/seichi-onp-k8s/cluster-boot-up/scripts/nodes/k8s-node-setup.sh @@ -269,7 +269,7 @@ KUBEADM_LOCAL_ENDPOINT=$(ip -4 addr show ens20 | grep -oP '(?<=inet\s)\d+(\.\d+) # Set init configuration for the first control plane cat > "$HOME"/init_kubeadm.yaml <