Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetAPIEndpointDynamicDefaults (0.54 sec)

  1. cmd/kubeadm/app/util/config/initconfiguration.go

    			cfg.CRISocket = kubeadmapiv1.DefaultContainerRuntimeURLScheme + "://" + cfg.CRISocket
    		}
    	}
    
    	return nil
    }
    
    // SetAPIEndpointDynamicDefaults checks and sets configuration values for the APIEndpoint object
    func SetAPIEndpointDynamicDefaults(cfg *kubeadmapi.APIEndpoint) error {
    	// validate cfg.API.AdvertiseAddress.
    	addressIP := netutils.ParseIPSloppy(cfg.AdvertiseAddress)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/joinconfiguration.go

    }
    
    // SetJoinControlPlaneDefaults checks and sets configuration values for the JoinControlPlane object
    func SetJoinControlPlaneDefaults(cfg *kubeadmapi.JoinControlPlane) error {
    	if cfg != nil {
    		if err := SetAPIEndpointDynamicDefaults(&cfg.LocalAPIEndpoint); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // LoadOrDefaultJoinConfiguration takes a path to a config file and a versioned configuration that can serve as the default config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/config/common.go

    	// In many cases that matching global unicast IP address can be found on loopback interface,
    	// so kubeadm allows users to specify address=Loopback for handling supporting the scenario above.
    	// Nb. SetAPIEndpointDynamicDefaults will try to translate loopback to a valid address afterwards
    	if ip.IsLoopback() {
    		return nil
    	}
    	if !ip.IsGlobalUnicast() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top