kubernetes/cmd/kube-apiserver/app
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
..
options simplify api registration 2018-05-08 18:33:50 -04:00
testing Merge pull request #60890 from rphillips/tests/lease_endpoint 2018-04-27 16:54:16 -07:00
aggregator.go Move scheduling api to beta 2018-05-12 02:01:04 -04:00
apiextensions.go simplify api registration 2018-05-08 18:33:50 -04:00
BUILD Correctly identify types served in the kube-apiserver openapi doc 2018-05-22 20:57:18 -04:00
server.go Remove signal handler registration from pkg/kubelet 2018-05-24 20:44:12 +01:00