Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for HardEvictionThresholds (0.37 sec)

  1. pkg/kubelet/cm/node_container_manager_linux_test.go

    		},
    	}
    	for idx, tc := range cpuMemCases {
    		nc := NodeConfig{
    			NodeAllocatableConfig: NodeAllocatableConfig{
    				KubeReserved:   tc.kubeReserved,
    				SystemReserved: tc.systemReserved,
    				HardEvictionThresholds: []evictionapi.Threshold{
    					{
    						Signal:   evictionapi.SignalMemoryAvailable,
    						Operator: evictionapi.OpLessThan,
    						Value:    tc.hardThreshold,
    					},
    				},
    			},
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 12.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/container_manager_windows.go

    func (cm *containerManagerImpl) Status() Status {
    	return Status{}
    }
    
    func (cm *containerManagerImpl) GetNodeAllocatableReservation() v1.ResourceList {
    	evictionReservation := hardEvictionReservation(cm.nodeConfig.HardEvictionThresholds, cm.capacity)
    	result := make(v1.ResourceList)
    	for k := range cm.capacity {
    		value := resource.NewQuantity(0, resource.DecimalSI)
    		if cm.nodeConfig.SystemReserved != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 11:25:36 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/container_manager.go

    	SystemReservedCgroupName string
    	ReservedSystemCPUs       cpuset.CPUSet
    	EnforceNodeAllocatable   sets.Set[string]
    	KubeReserved             v1.ResourceList
    	SystemReserved           v1.ResourceList
    	HardEvictionThresholds   []evictionapi.Threshold
    }
    
    type Status struct {
    	// Any soft requirements that were unsatisfied.
    	SoftRequirements error
    }
    
    // parsePercentage parses the percentage string to numeric value.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. cmd/kubelet/app/server.go

    		if err != nil {
    			return fmt.Errorf("--system-reserved value failed to parse: %w", err)
    		}
    		var hardEvictionThresholds []evictionapi.Threshold
    		// If the user requested to ignore eviction thresholds, then do not set valid values for hardEvictionThresholds here.
    		if !s.ExperimentalNodeAllocatableIgnoreEvictionThreshold {
    			hardEvictionThresholds, err = eviction.ParseThresholdConfig([]string{}, s.EvictionHard, nil, nil, nil)
    			if err != 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)
  5. pkg/kubelet/cm/node_container_manager_linux.go

    func (cm *containerManagerImpl) GetNodeAllocatableReservation() v1.ResourceList {
    	evictionReservation := hardEvictionReservation(cm.HardEvictionThresholds, cm.capacity)
    	result := make(v1.ResourceList)
    	for k := range cm.capacity {
    		value := resource.NewQuantity(0, resource.DecimalSI)
    		if cm.NodeConfig.SystemReserved != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top