Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NodeLeaseDurationSeconds (0.31 sec)

  1. pkg/kubelet/apis/config/validation/validation_test.go

    			return conf
    		},
    	}, {
    		name: "invalid NodeLeaseDurationSeconds",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.NodeLeaseDurationSeconds = 0
    			return conf
    		},
    		errMsg: "invalid configuration: nodeLeaseDurationSeconds must be greater than 0",
    	}, {
    		name: "specify EnforceNodeAllocatable without enabling CgroupsPerQOS",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/validation/validation.go

    	localFeatureGate := featureGate.DeepCopy()
    	if err := localFeatureGate.SetFromMap(kc.FeatureGates); err != nil {
    		return err
    	}
    
    	if kc.NodeLeaseDurationSeconds <= 0 {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: nodeLeaseDurationSeconds must be greater than 0"))
    	}
    	if !kc.CgroupsPerQOS && len(kc.EnforceNodeAllocatable) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/helpers_test.go

    		"RotateCertificates",
    		"ServerTLSBootstrap",
    		"StaticPodURL",
    		"StaticPodURLHeader[*][*]",
    		"MaxOpenFiles",
    		"MaxPods",
    		"MemoryManagerPolicy",
    		"MemorySwap.SwapBehavior",
    		"NodeLeaseDurationSeconds",
    		"NodeStatusMaxImages",
    		"NodeStatusUpdateFrequency.Duration",
    		"NodeStatusReportFrequency.Duration",
    		"OOMScoreAdj",
    		"PodCIDR",
    		"PodPidsLimit",
    		"PodsPerCore",
    		"Port",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. cmd/kubemark/app/hollow_node.go

    		heartbeatClientConfig.Timeout = c.NodeStatusUpdateFrequency.Duration
    		// The timeout is the minimum of the lease duration and status update frequency
    		leaseTimeout := time.Duration(c.NodeLeaseDurationSeconds) * time.Second
    		if heartbeatClientConfig.Timeout > leaseTimeout {
    			heartbeatClientConfig.Timeout = leaseTimeout
    		}
    
    		heartbeatClientConfig.QPS = float32(-1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/types.go

    	// only used when node lease feature is enabled.
    	NodeStatusReportFrequency metav1.Duration
    	// nodeLeaseDurationSeconds is the duration the Kubelet will set on its corresponding Lease.
    	NodeLeaseDurationSeconds int32
    	// ImageMinimumGCAge is the minimum age for an unused image before it is
    	// garbage collected.
    	ImageMinimumGCAge metav1.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top