Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewMainKubelet (0.33 sec)

  1. cmd/kubelet/app/server.go

    		kubeDeps,
    		hostname,
    		hostnameOverridden,
    		nodeName,
    		nodeIPs)
    	if err != nil {
    		return fmt.Errorf("failed to create kubelet: %w", err)
    	}
    
    	// NewMainKubelet should have set up a pod source config if one didn't exist
    	// when the builder was run. This is just a precaution.
    	if kubeDeps.PodConfig == nil {
    		return fmt.Errorf("failed to create kubelet, pod source config was nil")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    		OSInterface:          kubecontainer.RealOS{},
    		DynamicPluginProber:  prober,
    		TLSOptions:           tlsOptions,
    	}
    	crOptions := &config.ContainerRuntimeOptions{}
    
    	testMainKubelet, err := NewMainKubelet(
    		kubeCfg,
    		kubeDep,
    		crOptions,
    		"hostname",
    		false,
    		"hostname",
    		[]net.IP{},
    		"",
    		"external",
    		"/tmp/cert",
    		"/tmp/rootdir",
    		tempDir,
    		"",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    	kubeDeps.useLegacyCadvisorStats = cadvisor.UsingLegacyCadvisorStats(kubeCfg.ContainerRuntimeEndpoint)
    
    	return nil
    }
    
    // NewMainKubelet instantiates a new Kubelet object along with all the required internal modules.
    // No initialization of Kubelet and its modules should happen here.
    func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
    	kubeDeps *Dependencies,
    	crOptions *config.ContainerRuntimeOptions,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top