diff --git a/kubetest2-ec2/config/run-kubeadm.sh b/kubetest2-ec2/config/run-kubeadm.sh index 78bde6d9..f1f51cba 100644 --- a/kubetest2-ec2/config/run-kubeadm.sh +++ b/kubetest2-ec2/config/run-kubeadm.sh @@ -110,8 +110,8 @@ if [[ ${KUBEADM_CONTROL_PLANE} == true ]]; then sed -i "s|{{KUBERNETES_VERSION}}|$KUBERNETES_VERSION|g" /etc/kubernetes/kubeadm-init.yaml sed -i "s|{{POD_CIDR}}|$POD_CIDR|g" /etc/kubernetes/kubeadm-init.yaml KUBE_LOG_LEVEL=${KUBE_LOG_LEVEL:-4} - sed -i "s|{{POD_CIDR}}|$KUBE_LOG_LEVEL|g" /etc/kubernetes/kubeadm-init.yaml - sed -i "s|{{POD_CIDR}}|$KUBE_LOG_LEVEL|g" /etc/kubernetes/kubeadm-join.yaml + sed -i "s|{{KUBE_LOG_LEVEL}}|$KUBE_LOG_LEVEL|g" /etc/kubernetes/kubeadm-init.yaml + sed -i "s|{{KUBE_LOG_LEVEL}}|$KUBE_LOG_LEVEL|g" /etc/kubernetes/kubeadm-join.yaml kubeadm init \ --v 10 \