mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Merge pull request #115950 from SataQiu/fix-kubelet-log-20230222
Fix a bug where the KubeletConfiguration is not printed correctly in the log
This commit is contained in:
commit
a55681ef86
@ -256,7 +256,7 @@ is checked every 20 seconds (also configurable with a flag).`,
|
||||
config.StaticPodURLHeader[k] = []string{"<masked>"}
|
||||
}
|
||||
// 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
|
||||
ctx := genericapiserver.SetupSignalContext()
|
||||
|
Loading…
Reference in New Issue
Block a user