mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #114734 from yangjunmyfm192085/fixklogV0
use klog.InfoS instead of klog.V(0).InfoS-proxy part
This commit is contained in:
commit
ba0dbdbd11
@ -167,7 +167,7 @@ func newProxyServer(
|
|||||||
|
|
||||||
for _, perFamilyIpt := range ipt {
|
for _, perFamilyIpt := range ipt {
|
||||||
if !perFamilyIpt.Present() {
|
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
|
dualStack = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,7 +106,7 @@ func newProxyServer(config *proxyconfigapi.KubeProxyConfiguration, master string
|
|||||||
proxyMode := proxyconfigapi.ProxyModeKernelspace
|
proxyMode := proxyconfigapi.ProxyModeKernelspace
|
||||||
dualStackMode := getDualStackMode(config.Winkernel.NetworkName, winkernel.DualStackCompatTester{})
|
dualStackMode := getDualStackMode(config.Winkernel.NetworkName, winkernel.DualStackCompatTester{})
|
||||||
if dualStackMode {
|
if dualStackMode {
|
||||||
klog.V(0).InfoS("Creating dualStackProxier for Windows kernel.")
|
klog.InfoS("Creating dualStackProxier for Windows kernel.")
|
||||||
|
|
||||||
proxier, err = winkernel.NewDualStackProxier(
|
proxier, err = winkernel.NewDualStackProxier(
|
||||||
config.IPTables.SyncPeriod.Duration,
|
config.IPTables.SyncPeriod.Duration,
|
||||||
|
Loading…
Reference in New Issue
Block a user