- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ChooseAPIServerBindAddress (0.33 sec)
-
cmd/kubeadm/app/util/config/common.go
return errors.Errorf("cannot use %q as the bind address for the API Server", address) } return nil } // ChooseAPIServerBindAddress is a wrapper for netutil.ResolveBindAddress that also handles // the case where no default routes were found and an IP for the API server could not be obtained. func ChooseAPIServerBindAddress(bindAddress net.IP) (net.IP, error) { ip, err := netutil.ResolveBindAddress(bindAddress) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration.go
} // This is the same logic as the API Server uses, except that if no interface is found the address is set to 0.0.0.0, which is invalid and cannot be used // for bootstrapping a cluster. ip, err := ChooseAPIServerBindAddress(addressIP) if err != nil { return err } cfg.AdvertiseAddress = ip.String() return nil } // SetClusterDynamicDefaults checks and sets values for the ClusterConfiguration object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 12:41:16 UTC 2024 - 17.3K bytes - Viewed (0)