mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-19 17:16:12 +00:00
Merge pull request #114725 from danwinship/kube-proxy-startup-cleanup
(minor) kube-proxy startup cleanup
This commit is contained in:
@@ -85,9 +85,14 @@ func NewHollowProxyOrDie(
|
||||
klog.InfoS("can't determine this node's IP, assuming 127.0.0.1")
|
||||
nodeIP = netutils.ParseIPSloppy("127.0.0.1")
|
||||
}
|
||||
family := v1.IPv4Protocol
|
||||
if iptInterface.IsIPv6() {
|
||||
family = v1.IPv6Protocol
|
||||
}
|
||||
// Real proxier with fake iptables, sysctl, etc underneath it.
|
||||
//var err error
|
||||
proxier, err = iptables.NewProxier(
|
||||
family,
|
||||
iptInterface,
|
||||
sysctl,
|
||||
execer,
|
||||
|
Reference in New Issue
Block a user