mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17:41 +00:00
fix a bug where the KubeletConfiguration is not printed correctly in the log
This commit is contained in:
parent
a5575425b0
commit
164113bc1c
@ -256,7 +256,7 @@ is checked every 20 seconds (also configurable with a flag).`,
|
|||||||
config.StaticPodURLHeader[k] = []string{"<masked>"}
|
config.StaticPodURLHeader[k] = []string{"<masked>"}
|
||||||
}
|
}
|
||||||
// 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", klog.Format(config))
|
||||||
|
|
||||||
// set up signal context for kubelet shutdown
|
// set up signal context for kubelet shutdown
|
||||||
ctx := genericapiserver.SetupSignalContext()
|
ctx := genericapiserver.SetupSignalContext()
|
||||||
|
Loading…
Reference in New Issue
Block a user