From b2bb3dfb59064f8ae517f936f6d3e8c52095f69d Mon Sep 17 00:00:00 2001 From: Jiahui Feng Date: Thu, 19 Dec 2019 17:11:21 -0800 Subject: [PATCH] add logging before kubelet waiting for cert during bootstrapping. --- pkg/kubelet/certificate/bootstrap/bootstrap.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/kubelet/certificate/bootstrap/bootstrap.go b/pkg/kubelet/certificate/bootstrap/bootstrap.go index 7bdc42b3cbe..661445d2621 100644 --- a/pkg/kubelet/certificate/bootstrap/bootstrap.go +++ b/pkg/kubelet/certificate/bootstrap/bootstrap.go @@ -352,6 +352,7 @@ func requestNodeCertificate(client certificatesv1beta1.CertificateSigningRequest ctx, cancel := context.WithTimeout(context.Background(), 3600*time.Second) defer cancel() + klog.V(2).Infof("Waiting for client certificate to be issued") return csr.WaitForCertificate(ctx, client, req) }