k3s/cmd/genkubedocs
Andrew McDermott 9cbd54018f Remove signal handler registration from pkg/kubelet
The goal of this change is to remove the registration of signal
handling from pkg/kubelet. We now pass in a stop channel.

If you register a signal handler in `main()` to aid in a controlled
and deliberate exit then the handler registered in `pkg/kubelet` often
wins and the process exits immediately. This means all other signal
handler registrations are currently racy if `DockerServer.Start()` is
directly or indirectly invoked.

This change also removes another signal handler registration from
`NewAPIServerCommand()`; a stop channel is now passed to this
function.
2018-05-24 20:44:12 +01:00
..
BUILD Remove signal handler registration from pkg/kubelet 2018-05-24 20:44:12 +01:00
gen_kube_docs.go Remove signal handler registration from pkg/kubelet 2018-05-24 20:44:12 +01:00
postprocessing.go some code change 2017-12-25 16:23:38 +08:00
postprocessing_test.go kubeadm-doc-gen 2017-11-13 15:32:58 +01:00