- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ChooseBindAddressForInterface (0.43 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/net/interface.go
hostIP, err := chooseHostInterface(addressFamilies) if err != nil { return nil, err } bindAddress = hostIP } return bindAddress, nil } // ChooseBindAddressForInterface choose a global IP for a specific interface, with priority given to IPv4. // This is required in case of network setups where default routes are present, but network
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 07:07:03 UTC 2022 - 14.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration.go
// e.g. This is required for network setups where default routes are present, but network interfaces use only link-local addresses (e.g. as described in RFC5549). if addressIP.IsLoopback() { loopbackIP, err := netutil.ChooseBindAddressForInterface(netutil.LoopbackInterfaceName) if err != nil { return err } if loopbackIP != nil { klog.V(4).Infof("Found active IP %v on loopback interface", loopbackIP.String())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 12:41:16 UTC 2024 - 17.3K bytes - Viewed (0)