mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-15 14:05:11 +00:00
apiservers: add synchronous shutdown mechanism on SIGTERM+INT
This commit is contained in:
@@ -29,7 +29,7 @@ func NewFederationCMServer() *Server {
|
||||
hks := Server{
|
||||
SimpleUsage: "federation-controller-manager",
|
||||
Long: "Controller manager for federation control plane. Manages federation service endpoints and controllers",
|
||||
Run: func(_ *Server, args []string) error {
|
||||
Run: func(_ *Server, args []string, stopCh <-chan struct{}) error {
|
||||
return app.Run(s)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user