Update cmd/kubelet/app/server.go

Co-authored-by: Danielle <dani@builds.terrible.systems>
This commit is contained in:
JUN YANG 2022-06-16 08:29:14 +08:00 committed by GitHub
parent 8bfea65f69
commit 8567f2bd53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
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()
// run the kubelet