Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewKubeletFlags (0.25 sec)

  1. pkg/kubemark/hollow_kubelet.go

    	podLogsPath := utils.MakeTempDirOrDie("pod-logs", testRootDir)
    	klog.Infof("Using %s as root dir for hollow-kubelet", testRootDir)
    
    	// Flags struct
    	f := options.NewKubeletFlags()
    	f.RootDirectory = testRootDir
    	f.HostnameOverride = opt.NodeName
    	f.MinimumGCAge = metav1.Duration{Duration: 1 * time.Minute}
    	f.MaxContainerCount = 100
    	f.MaxPerPodContainerCount = 2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. cmd/kubelet/app/options/options.go

    	RegisterSchedulable bool
    	// SeccompDefault enables the use of `RuntimeDefault` as the default seccomp profile for all workloads on the node.
    	SeccompDefault bool
    }
    
    // NewKubeletFlags will create a new KubeletFlags with default values
    func NewKubeletFlags() *KubeletFlags {
    	return &KubeletFlags{
    		ContainerRuntimeOptions: *NewContainerRuntimeOptions(),
    		CertDirectory:           "/var/lib/kubelet/pki",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  3. cmd/kubelet/app/server.go

    func NewKubeletCommand() *cobra.Command {
    	cleanFlagSet := pflag.NewFlagSet(componentKubelet, pflag.ContinueOnError)
    	cleanFlagSet.SetNormalizeFunc(cliflag.WordSepNormalizeFunc)
    	kubeletFlags := options.NewKubeletFlags()
    
    	kubeletConfig, err := options.NewKubeletConfiguration()
    	// programmer error
    	if err != nil {
    		klog.ErrorS(err, "Failed to create a new kubelet configuration")
    		os.Exit(1)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top