From c601c7fd4c82a7aa501721138b9e1f86e5ca8a56 Mon Sep 17 00:00:00 2001 From: chenk008 Date: Thu, 15 Sep 2022 11:30:44 +0800 Subject: [PATCH] reduce kubeadm tls bootstrap retry interval to 1s --- cmd/kubeadm/app/constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubeadm/app/constants/constants.go b/cmd/kubeadm/app/constants/constants.go index b4ee1f6528a..2d847485262 100644 --- a/cmd/kubeadm/app/constants/constants.go +++ b/cmd/kubeadm/app/constants/constants.go @@ -211,7 +211,7 @@ const ( // TLSBootstrapTimeout specifies how long kubeadm should wait for the kubelet to perform the TLS Bootstrap TLSBootstrapTimeout = 5 * time.Minute // TLSBootstrapRetryInterval specifies how long kubeadm should wait before retrying the TLS Bootstrap check - TLSBootstrapRetryInterval = 5 * time.Second + TLSBootstrapRetryInterval = 1 * time.Second // APICallWithWriteTimeout specifies how long kubeadm should wait for api calls with at least one write APICallWithWriteTimeout = 40 * time.Second // APICallWithReadTimeout specifies how long kubeadm should wait for api calls with only reads