use klog.InfoS instead of klog.V(0).Info-proxy part

This commit is contained in:
JunYang 2022-12-29 11:16:51 +08:00
parent 7eb9a75bf9
commit cc4126a010
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ func newProxyServer(
for _, perFamilyIpt := range ipt {
if !perFamilyIpt.Present() {
klog.V(0).InfoS("kube-proxy running in single-stack mode, this ipFamily is not supported", "ipFamily", perFamilyIpt.Protocol())
klog.InfoS("kube-proxy running in single-stack mode, this ipFamily is not supported", "ipFamily", perFamilyIpt.Protocol())
dualStack = false
}
}

View File

@ -106,7 +106,7 @@ func newProxyServer(config *proxyconfigapi.KubeProxyConfiguration, master string
proxyMode := proxyconfigapi.ProxyModeKernelspace
dualStackMode := getDualStackMode(config.Winkernel.NetworkName, winkernel.DualStackCompatTester{})
if dualStackMode {
klog.V(0).InfoS("Creating dualStackProxier for Windows kernel.")
klog.InfoS("Creating dualStackProxier for Windows kernel.")
proxier, err = winkernel.NewDualStackProxier(
config.IPTables.SyncPeriod.Duration,