k3s/pkg/kubemark
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
..
.import-restrictions Add import-boss directives 2017-10-13 07:06:22 -04:00
BUILD Remove signal handler registration from pkg/kubelet 2018-05-24 20:44:12 +01:00
OWNERS Added OWNERS to kubemark subdirectories 2017-01-25 14:37:57 +01:00
controller.go apimachinery: remove Scheme.Copy 2017-10-06 14:24:05 +02:00
hollow_kubelet.go Remove signal handler registration from pkg/kubelet 2018-05-24 20:44:12 +01:00
hollow_proxy.go add nodeport-addresses flag for kube-proxy 2018-02-26 23:48:46 +08:00