kubernetes/cmd/kubelet/app
Clayton Coleman 7555dec82e
Kubelet should exit if the current client cert has expired
The client cert manager uses the most recent cert to request new
certificates. If that certificate is expired, it will be unable to
complete new CSR requests. This commit alters the manager to force
process exit if no further client cert rotation is possible, which
is expected to trigger a restart of the kubelet and either a
re-bootstrap from the bootstrap kubeconfig or a re-read of the
current disk state (assuming that some other agent is managing the
bootstrap configuration).

This prevents the Kubelet from wedging in a state where it cannot make
API calls.
2017-10-16 14:27:03 +02:00
..
options update BUILD files 2017-10-15 18:18:13 -07:00
auth.go move KubeletConfiguration out of componentconfig API group 2017-08-15 08:12:42 -07:00
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
OWNERS Update OWNERS 2017-01-18 15:19:06 -08:00
plugins.go Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
server_linux.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
server_test.go Fix --kube-reserved storage key name and add test cases for node allocatable reservation 2017-09-26 09:32:21 +08:00
server_unsupported.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
server.go Kubelet should exit if the current client cert has expired 2017-10-16 14:27:03 +02:00