Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getSysContainer (0.12 sec)

  1. pkg/kubelet/eviction/memory_threshold_notifier.go

    	}
    }
    
    func (m *memoryThresholdNotifier) UpdateThreshold(summary *statsapi.Summary) error {
    	memoryStats := summary.Node.Memory
    	if isAllocatableEvictionThreshold(m.threshold) {
    		allocatableContainer, err := getSysContainer(summary.Node.SystemContainers, statsapi.SystemContainerPods)
    		if err != nil {
    			return err
    		}
    		memoryStats = allocatableContainer.Memory
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 21 00:36:14 UTC 2021
    - 4.7K bytes
    - Viewed (0)
Back to top