You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request kubernetes#63832 from liggitt/automated-cherry-pick-of-#63492-upstream-release-1.9
Automatic merge from submit-queue.
Automated cherry pick of kubernetes#63492: Always track kubelet -> API connections
Cherry pick of kubernetes#63492 on release-1.9.
kubernetes#63492: Always track kubelet -> API connections
glog.Fatalf("The currently active client certificate has expired and the server is responsive, exiting.")
86
-
} else {
87
-
glog.Errorf("The currently active client certificate has expired, but the server is not responsive. A restart may be necessary to retrieve new initial credentials.")
glog.Fatalf("The currently active client certificate has expired and the server is responsive, exiting.")
91
+
} else {
92
+
glog.Errorf("The currently active client certificate has expired, but the server is not responsive. A restart may be necessary to retrieve new initial credentials.")
93
+
}
94
+
}
95
+
ifcurr==nil||lastCert==curr {
96
+
// Cert hasn't been rotated.
97
+
return
98
+
}
99
+
lastCert=curr
100
+
101
+
glog.Infof("certificate rotation detected, shutting down client connections to start using new credentials")
102
+
// The cert has been rotated. Close all existing connections to force the client
0 commit comments