- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getSysContainer (0.14 sec)
-
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) -
pkg/kubelet/eviction/helpers.go
capacity: resource.NewQuantity(int64(*memory.AvailableBytes+*memory.WorkingSetBytes), resource.BinarySI), time: memory.Time, } } if allocatableContainer, err := getSysContainer(summary.Node.SystemContainers, statsapi.SystemContainerPods); err != nil { klog.ErrorS(err, "Eviction manager: failed to construct signal", "signal", evictionapi.SignalAllocatableMemoryAvailable) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0)