diff --git a/docs/book/src/topics/machinepools.md b/docs/book/src/topics/machinepools.md index f6e185c9abf3..d58bb7ce2133 100644 --- a/docs/book/src/topics/machinepools.md +++ b/docs/book/src/topics/machinepools.md @@ -127,5 +127,4 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true ``` diff --git a/templates/cluster-template-ephemeral.yaml b/templates/cluster-template-ephemeral.yaml index 298e4c2f1062..8396a9036fa4 100644 --- a/templates/cluster-template-ephemeral.yaml +++ b/templates/cluster-template-ephemeral.yaml @@ -108,7 +108,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -200,4 +199,3 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true diff --git a/templates/cluster-template-external-cloud-provider.yaml b/templates/cluster-template-external-cloud-provider.yaml index e9505e65f2ae..23b6315b445c 100644 --- a/templates/cluster-template-external-cloud-provider.yaml +++ b/templates/cluster-template-external-cloud-provider.yaml @@ -108,7 +108,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -196,4 +195,3 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: external name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true diff --git a/templates/cluster-template-ipv6.yaml b/templates/cluster-template-ipv6.yaml index 541a4d59ee35..171c6dbc7fce 100644 --- a/templates/cluster-template-ipv6.yaml +++ b/templates/cluster-template-ipv6.yaml @@ -149,7 +149,6 @@ spec: - mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf - systemctl restart systemd-resolved - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -256,4 +255,3 @@ spec: - mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf - systemctl restart systemd-resolved - useExperimentalRetryJoin: true diff --git a/templates/cluster-template-machinepool-system-assigned-identity.yaml b/templates/cluster-template-machinepool-system-assigned-identity.yaml index 690203b9fc52..5c4becf5ecfd 100644 --- a/templates/cluster-template-machinepool-system-assigned-identity.yaml +++ b/templates/cluster-template-machinepool-system-assigned-identity.yaml @@ -108,7 +108,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -192,4 +191,3 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true diff --git a/templates/cluster-template-machinepool-user-assigned-identity.yaml b/templates/cluster-template-machinepool-user-assigned-identity.yaml index faebf6214b21..d042d858339b 100644 --- a/templates/cluster-template-machinepool-user-assigned-identity.yaml +++ b/templates/cluster-template-machinepool-user-assigned-identity.yaml @@ -108,7 +108,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -194,4 +193,3 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true diff --git a/templates/cluster-template-machinepool.yaml b/templates/cluster-template-machinepool.yaml index dce0dd2e58e4..e85452e18594 100644 --- a/templates/cluster-template-machinepool.yaml +++ b/templates/cluster-template-machinepool.yaml @@ -108,7 +108,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -191,4 +190,3 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true diff --git a/templates/cluster-template-nvidia-gpu.yaml b/templates/cluster-template-nvidia-gpu.yaml index 75c7799cbd68..dc58d50ab010 100644 --- a/templates/cluster-template-nvidia-gpu.yaml +++ b/templates/cluster-template-nvidia-gpu.yaml @@ -110,7 +110,6 @@ spec: - /var/lib/etcddisk postKubeadmCommands: - KUBECONFIG=/etc/kubernetes/admin.conf kubectl apply -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/master/nvidia-device-plugin.yml - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -338,4 +337,3 @@ spec: - apt install ubuntu-drivers-common -y - ubuntu-drivers install - apt install nvidia-container-runtime -y - useExperimentalRetryJoin: true diff --git a/templates/cluster-template-private.yaml b/templates/cluster-template-private.yaml index ba864d14c1ac..92ac6dbfd3da 100644 --- a/templates/cluster-template-private.yaml +++ b/templates/cluster-template-private.yaml @@ -118,7 +118,6 @@ spec: preKubeadmCommands: - if [ -f /tmp/kubeadm.yaml ] || [ -f /run/kubeadm/kubeadm.yaml ]; then echo '127.0.0.1 apiserver.${CLUSTER_NAME}.capz.io apiserver' >> /etc/hosts; fi - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -206,4 +205,3 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true diff --git a/templates/cluster-template-system-assigned-identity.yaml b/templates/cluster-template-system-assigned-identity.yaml index 033287d20669..a639556233d0 100644 --- a/templates/cluster-template-system-assigned-identity.yaml +++ b/templates/cluster-template-system-assigned-identity.yaml @@ -108,7 +108,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -198,4 +197,3 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true diff --git a/templates/cluster-template-user-assigned-identity.yaml b/templates/cluster-template-user-assigned-identity.yaml index 6ca2990ab84a..78ae68eb10dd 100644 --- a/templates/cluster-template-user-assigned-identity.yaml +++ b/templates/cluster-template-user-assigned-identity.yaml @@ -108,7 +108,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -202,4 +201,3 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index ab2bf7c478e2..8bb7d02b45e9 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -108,7 +108,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -196,4 +195,3 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true diff --git a/templates/flavors/base/cluster-template.yaml b/templates/flavors/base/cluster-template.yaml index 32c10a561259..22c502f5c156 100644 --- a/templates/flavors/base/cluster-template.yaml +++ b/templates/flavors/base/cluster-template.yaml @@ -41,7 +41,6 @@ spec: apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 name: "${CLUSTER_NAME}-control-plane" kubeadmConfigSpec: - useExperimentalRetryJoin: true initConfiguration: nodeRegistration: name: '{{ ds.meta_data["local_hostname"] }}' diff --git a/templates/flavors/default/machine-deployment.yaml b/templates/flavors/default/machine-deployment.yaml index 915e968390f1..0d5b08fab6e3 100644 --- a/templates/flavors/default/machine-deployment.yaml +++ b/templates/flavors/default/machine-deployment.yaml @@ -45,7 +45,6 @@ metadata: spec: template: spec: - useExperimentalRetryJoin: true joinConfiguration: nodeRegistration: name: '{{ ds.meta_data["local_hostname"] }}' diff --git a/templates/flavors/external-cloud-provider/patches/external-cloud-provider.yaml b/templates/flavors/external-cloud-provider/patches/external-cloud-provider.yaml index 154462c34a0f..01d2b10aa393 100644 --- a/templates/flavors/external-cloud-provider/patches/external-cloud-provider.yaml +++ b/templates/flavors/external-cloud-provider/patches/external-cloud-provider.yaml @@ -5,7 +5,6 @@ metadata: name: "${CLUSTER_NAME}-control-plane" spec: kubeadmConfigSpec: - useExperimentalRetryJoin: true initConfiguration: nodeRegistration: kubeletExtraArgs: @@ -29,7 +28,6 @@ metadata: spec: template: spec: - useExperimentalRetryJoin: true joinConfiguration: nodeRegistration: kubeletExtraArgs: diff --git a/templates/flavors/ipv6/machine-deployment.yaml b/templates/flavors/ipv6/machine-deployment.yaml index 67a2607c8fbb..bdef643bb11e 100644 --- a/templates/flavors/ipv6/machine-deployment.yaml +++ b/templates/flavors/ipv6/machine-deployment.yaml @@ -46,7 +46,6 @@ metadata: spec: template: spec: - useExperimentalRetryJoin: true postKubeadmCommands: # This frees up :53 on the host for the coredns pods - echo "DNSStubListener=no" >> /etc/systemd/resolved.conf diff --git a/templates/flavors/ipv6/patches/kubeadm-controlplane.yaml b/templates/flavors/ipv6/patches/kubeadm-controlplane.yaml index 169861683595..5dacd7dcbfe4 100644 --- a/templates/flavors/ipv6/patches/kubeadm-controlplane.yaml +++ b/templates/flavors/ipv6/patches/kubeadm-controlplane.yaml @@ -4,7 +4,6 @@ metadata: name: "${CLUSTER_NAME}-control-plane" spec: kubeadmConfigSpec: - useExperimentalRetryJoin: true postKubeadmCommands: - sed -i '\#--listen-client-urls#s#$#,https://127.0.0.1:2379#' /etc/kubernetes/manifests/etcd.yaml # This frees up :53 on the host for the coredns pods diff --git a/templates/flavors/machinepool/machine-pool-deployment.yaml b/templates/flavors/machinepool/machine-pool-deployment.yaml index 11f2a9e5b9c5..f9e16d402de8 100644 --- a/templates/flavors/machinepool/machine-pool-deployment.yaml +++ b/templates/flavors/machinepool/machine-pool-deployment.yaml @@ -40,7 +40,6 @@ kind: KubeadmConfig metadata: name: "${CLUSTER_NAME}-mp-0" spec: - useExperimentalRetryJoin: true joinConfiguration: nodeRegistration: name: '{{ ds.meta_data["local_hostname"] }}' diff --git a/templates/flavors/nvidia-gpu/machine-deployment.yaml b/templates/flavors/nvidia-gpu/machine-deployment.yaml index 5a7e2b698e21..0af7900baf35 100644 --- a/templates/flavors/nvidia-gpu/machine-deployment.yaml +++ b/templates/flavors/nvidia-gpu/machine-deployment.yaml @@ -45,7 +45,6 @@ metadata: spec: template: spec: - useExperimentalRetryJoin: true preKubeadmCommands: # Enable NVIDIA container runtime package repository - curl -sL https://nvidia.github.io/nvidia-container-runtime/gpgkey | apt-key add - diff --git a/templates/flavors/nvidia-gpu/patches/kubeadm-controlplane.yaml b/templates/flavors/nvidia-gpu/patches/kubeadm-controlplane.yaml index 6b7453269871..6bab1e829b64 100644 --- a/templates/flavors/nvidia-gpu/patches/kubeadm-controlplane.yaml +++ b/templates/flavors/nvidia-gpu/patches/kubeadm-controlplane.yaml @@ -4,7 +4,6 @@ metadata: name: "${CLUSTER_NAME}-control-plane" spec: kubeadmConfigSpec: - useExperimentalRetryJoin: true postKubeadmCommands: # Install the NVIDIA device plugin for Kubernetes - KUBECONFIG=/etc/kubernetes/admin.conf kubectl apply -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/master/nvidia-device-plugin.yml diff --git a/templates/test/cluster-template-prow-ci-version.yaml b/templates/test/cluster-template-prow-ci-version.yaml index 5623d2d4727c..058f8566ce89 100644 --- a/templates/test/cluster-template-prow-ci-version.yaml +++ b/templates/test/cluster-template-prow-ci-version.yaml @@ -188,7 +188,6 @@ spec: - /var/lib/etcddisk preKubeadmCommands: - bash -c /tmp/kubeadm-bootstrap.sh - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -367,7 +366,6 @@ spec: name: '{{ ds.meta_data["local_hostname"] }}' preKubeadmCommands: - bash -c /tmp/kubeadm-bootstrap.sh - useExperimentalRetryJoin: true --- apiVersion: cluster.x-k8s.io/v1alpha3 kind: MachineHealthCheck diff --git a/templates/test/cluster-template-prow-ipv6.yaml b/templates/test/cluster-template-prow-ipv6.yaml index c2be2050b53a..4a2782bf23a6 100644 --- a/templates/test/cluster-template-prow-ipv6.yaml +++ b/templates/test/cluster-template-prow-ipv6.yaml @@ -152,7 +152,6 @@ spec: - mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf - systemctl restart systemd-resolved - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -259,7 +258,6 @@ spec: - mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf - systemctl restart systemd-resolved - useExperimentalRetryJoin: true --- apiVersion: v1 data: ${CNI_RESOURCES_IPV6} diff --git a/templates/test/cluster-template-prow-machine-pool-ci-version.yaml b/templates/test/cluster-template-prow-machine-pool-ci-version.yaml index d7c39a4677e0..f276feda9c96 100644 --- a/templates/test/cluster-template-prow-machine-pool-ci-version.yaml +++ b/templates/test/cluster-template-prow-machine-pool-ci-version.yaml @@ -188,7 +188,6 @@ spec: - /var/lib/etcddisk preKubeadmCommands: - bash -c /tmp/kubeadm-bootstrap.sh - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -359,7 +358,6 @@ spec: name: '{{ ds.meta_data["local_hostname"] }}' preKubeadmCommands: - bash -c /tmp/kubeadm-bootstrap.sh - useExperimentalRetryJoin: true --- apiVersion: v1 data: ${CNI_RESOURCES} diff --git a/templates/test/cluster-template-prow-machine-pool.yaml b/templates/test/cluster-template-prow-machine-pool.yaml index 5c4cc4e33118..f08592a1f2bd 100644 --- a/templates/test/cluster-template-prow-machine-pool.yaml +++ b/templates/test/cluster-template-prow-machine-pool.yaml @@ -111,7 +111,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -194,7 +193,6 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true --- apiVersion: v1 data: ${CNI_RESOURCES} diff --git a/templates/test/cluster-template-prow-nvidia-gpu.yaml b/templates/test/cluster-template-prow-nvidia-gpu.yaml index fa0031eb6d2f..ab38c50dd4a4 100644 --- a/templates/test/cluster-template-prow-nvidia-gpu.yaml +++ b/templates/test/cluster-template-prow-nvidia-gpu.yaml @@ -113,7 +113,6 @@ spec: - /var/lib/etcddisk postKubeadmCommands: - KUBECONFIG=/etc/kubernetes/admin.conf kubectl apply -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/master/nvidia-device-plugin.yml - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -341,7 +340,6 @@ spec: - apt install ubuntu-drivers-common -y - ubuntu-drivers install - apt install nvidia-container-runtime -y - useExperimentalRetryJoin: true --- apiVersion: v1 data: ${CNI_RESOURCES} diff --git a/templates/test/cluster-template-prow-private.yaml b/templates/test/cluster-template-prow-private.yaml index 4029a6d21af9..bb0f957eae59 100644 --- a/templates/test/cluster-template-prow-private.yaml +++ b/templates/test/cluster-template-prow-private.yaml @@ -133,7 +133,6 @@ spec: preKubeadmCommands: - if [ -f /tmp/kubeadm.yaml ] || [ -f /run/kubeadm/kubeadm.yaml ]; then echo '127.0.0.1 apiserver.${CLUSTER_NAME}.capz.io apiserver' >> /etc/hosts; fi - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -221,7 +220,6 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true --- apiVersion: v1 data: ${CNI_RESOURCES} diff --git a/templates/test/cluster-template-prow.yaml b/templates/test/cluster-template-prow.yaml index 5ba6339cf96d..2c7193e58d4d 100644 --- a/templates/test/cluster-template-prow.yaml +++ b/templates/test/cluster-template-prow.yaml @@ -111,7 +111,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -202,7 +201,6 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true --- apiVersion: cluster.x-k8s.io/v1alpha3 kind: MachineHealthCheck diff --git a/templates/test/prow-ci-version/patches/ci-artifacts-script.yaml b/templates/test/prow-ci-version/patches/ci-artifacts-script.yaml index 71861dbb7017..c3106505bbd9 100644 --- a/templates/test/prow-ci-version/patches/ci-artifacts-script.yaml +++ b/templates/test/prow-ci-version/patches/ci-artifacts-script.yaml @@ -4,7 +4,6 @@ metadata: name: "${CLUSTER_NAME}-control-plane" spec: kubeadmConfigSpec: - useExperimentalRetryJoin: true clusterConfiguration: kubernetesVersion: "ci/${CI_VERSION}" preKubeadmCommands: diff --git a/templates/test/prow-machine-pool-ci-version/patches/machine-pool-ci-version.yaml b/templates/test/prow-machine-pool-ci-version/patches/machine-pool-ci-version.yaml index 4f8313a02457..7119c8622539 100644 --- a/templates/test/prow-machine-pool-ci-version/patches/machine-pool-ci-version.yaml +++ b/templates/test/prow-machine-pool-ci-version/patches/machine-pool-ci-version.yaml @@ -4,7 +4,6 @@ metadata: name: "${CLUSTER_NAME}-control-plane" spec: kubeadmConfigSpec: - useExperimentalRetryJoin: true clusterConfiguration: kubernetesVersion: "ci/${CI_VERSION}" preKubeadmCommands: diff --git a/test/e2e/data/infrastructure-azure/cluster-template-kcp-adoption.yaml b/test/e2e/data/infrastructure-azure/cluster-template-kcp-adoption.yaml index 84a198e22f3b..209db16307e2 100644 --- a/test/e2e/data/infrastructure-azure/cluster-template-kcp-adoption.yaml +++ b/test/e2e/data/infrastructure-azure/cluster-template-kcp-adoption.yaml @@ -88,7 +88,6 @@ metadata: labels: kcp-adoption.step1: '' spec: - useExperimentalRetryJoin: true initConfiguration: nodeRegistration: kubeletExtraArgs: @@ -256,7 +255,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- diff --git a/test/e2e/data/infrastructure-azure/cluster-template-mhc.yaml b/test/e2e/data/infrastructure-azure/cluster-template-mhc.yaml index 5ba6339cf96d..2c7193e58d4d 100644 --- a/test/e2e/data/infrastructure-azure/cluster-template-mhc.yaml +++ b/test/e2e/data/infrastructure-azure/cluster-template-mhc.yaml @@ -111,7 +111,6 @@ spec: mounts: - - LABEL=etcd_disk - /var/lib/etcddisk - useExperimentalRetryJoin: true replicas: ${CONTROL_PLANE_MACHINE_COUNT} version: ${KUBERNETES_VERSION} --- @@ -202,7 +201,6 @@ spec: cloud-config: /etc/kubernetes/azure.json cloud-provider: azure name: '{{ ds.meta_data["local_hostname"] }}' - useExperimentalRetryJoin: true --- apiVersion: cluster.x-k8s.io/v1alpha3 kind: MachineHealthCheck