Remove the description of the docker shim from the kubelet

This commit is contained in:
JunYang 2022-06-10 22:57:46 +08:00
parent 79cef12276
commit 8bfea65f69

View File

@ -252,8 +252,6 @@ HTTP server: The kubelet can also listen for HTTP and respond to a simple API
if err := checkPermissions(); err != nil {
klog.ErrorS(err, "kubelet running with insufficient permissions")
}
// set up signal context here in order to be reused by kubelet and docker shim
ctx := genericapiserver.SetupSignalContext()
// make the kubelet's config safe for logging
config := kubeletServer.KubeletConfiguration.DeepCopy()
@ -263,6 +261,9 @@ 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
ctx := genericapiserver.SetupSignalContext()
// run the kubelet
return Run(ctx, kubeletServer, kubeletDeps, utilfeature.DefaultFeatureGate)
},