Update cmd/kubelet/app/server.go
Co-authored-by: Danielle <dani@builds.terrible.systems>
This commit is contained in:
@@ -261,7 +261,7 @@ HTTP server: The kubelet can also listen for HTTP and respond to a simple API
|
|||||||
// log the kubelet's config for inspection
|
// log the kubelet's config for inspection
|
||||||
klog.V(5).InfoS("KubeletConfiguration", "configuration", config)
|
klog.V(5).InfoS("KubeletConfiguration", "configuration", config)
|
||||||
|
|
||||||
// set up signal context here in order to be reused by kubelet
|
// set up signal context for kubelet shutdown
|
||||||
ctx := genericapiserver.SetupSignalContext()
|
ctx := genericapiserver.SetupSignalContext()
|
||||||
|
|
||||||
// run the kubelet
|
// run the kubelet
|
||||||
|
Reference in New Issue
Block a user