Skip to content

Commit

Permalink
Don't useExperimentalRetryJoin
Browse files Browse the repository at this point in the history
now that we are using k9s 1.19.3 as default, we should not need this
  • Loading branch information
nader-ziada committed Nov 19, 2020
1 parent 8e70ad6 commit b6dd8ab
Show file tree
Hide file tree
Showing 31 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion docs/book/src/topics/machinepools.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,4 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
```
2 changes: 0 additions & 2 deletions templates/cluster-template-ephemeral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -200,4 +199,3 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
2 changes: 0 additions & 2 deletions templates/cluster-template-external-cloud-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -196,4 +195,3 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: external
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
2 changes: 0 additions & 2 deletions templates/cluster-template-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
---
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -192,4 +191,3 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -194,4 +193,3 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
2 changes: 0 additions & 2 deletions templates/cluster-template-machinepool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -191,4 +190,3 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
2 changes: 0 additions & 2 deletions templates/cluster-template-nvidia-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
---
Expand Down Expand Up @@ -338,4 +337,3 @@ spec:
- apt install ubuntu-drivers-common -y
- ubuntu-drivers install
- apt install nvidia-container-runtime -y
useExperimentalRetryJoin: true
2 changes: 0 additions & 2 deletions templates/cluster-template-private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
---
Expand Down Expand Up @@ -206,4 +205,3 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
2 changes: 0 additions & 2 deletions templates/cluster-template-system-assigned-identity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -198,4 +197,3 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
2 changes: 0 additions & 2 deletions templates/cluster-template-user-assigned-identity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -202,4 +201,3 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
2 changes: 0 additions & 2 deletions templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -196,4 +195,3 @@ spec:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
name: '{{ ds.meta_data["local_hostname"] }}'
useExperimentalRetryJoin: true
1 change: 0 additions & 1 deletion templates/flavors/base/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }}'
Expand Down
1 change: 0 additions & 1 deletion templates/flavors/default/machine-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ metadata:
spec:
template:
spec:
useExperimentalRetryJoin: true
joinConfiguration:
nodeRegistration:
name: '{{ ds.meta_data["local_hostname"] }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
name: "${CLUSTER_NAME}-control-plane"
spec:
kubeadmConfigSpec:
useExperimentalRetryJoin: true
initConfiguration:
nodeRegistration:
kubeletExtraArgs:
Expand All @@ -29,7 +28,6 @@ metadata:
spec:
template:
spec:
useExperimentalRetryJoin: true
joinConfiguration:
nodeRegistration:
kubeletExtraArgs:
Expand Down
1 change: 0 additions & 1 deletion templates/flavors/ipv6/machine-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion templates/flavors/ipv6/patches/kubeadm-controlplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion templates/flavors/machinepool/machine-pool-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ kind: KubeadmConfig
metadata:
name: "${CLUSTER_NAME}-mp-0"
spec:
useExperimentalRetryJoin: true
joinConfiguration:
nodeRegistration:
name: '{{ ds.meta_data["local_hostname"] }}'
Expand Down
1 change: 0 additions & 1 deletion templates/flavors/nvidia-gpu/machine-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions templates/test/cluster-template-prow-ci-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
---
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions templates/test/cluster-template-prow-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
---
Expand Down Expand Up @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
---
Expand Down Expand Up @@ -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}
Expand Down
2 changes: 0 additions & 2 deletions templates/test/cluster-template-prow-machine-pool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -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}
Expand Down
2 changes: 0 additions & 2 deletions templates/test/cluster-template-prow-nvidia-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
---
Expand Down Expand Up @@ -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}
Expand Down
2 changes: 0 additions & 2 deletions templates/test/cluster-template-prow-private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
---
Expand Down Expand Up @@ -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}
Expand Down
2 changes: 0 additions & 2 deletions templates/test/cluster-template-prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
name: "${CLUSTER_NAME}-control-plane"
spec:
kubeadmConfigSpec:
useExperimentalRetryJoin: true
clusterConfiguration:
kubernetesVersion: "ci/${CI_VERSION}"
preKubeadmCommands:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
name: "${CLUSTER_NAME}-control-plane"
spec:
kubeadmConfigSpec:
useExperimentalRetryJoin: true
clusterConfiguration:
kubernetesVersion: "ci/${CI_VERSION}"
preKubeadmCommands:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ metadata:
labels:
kcp-adoption.step1: ''
spec:
useExperimentalRetryJoin: true
initConfiguration:
nodeRegistration:
kubeletExtraArgs:
Expand Down Expand Up @@ -256,7 +255,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down
2 changes: 0 additions & 2 deletions test/e2e/data/infrastructure-azure/cluster-template-mhc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ spec:
mounts:
- - LABEL=etcd_disk
- /var/lib/etcddisk
useExperimentalRetryJoin: true
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
---
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b6dd8ab

Please sign in to comment.