- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isEvicted (0.12 sec)
-
pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go
systemInhibitDelay := 40 * time.Second overrideSystemInhibitDelay := 40 * time.Second activePodsFunc := func() []*v1.Pod { return nil } killPodsFunc := func(pod *v1.Pod, isEvicted bool, gracePeriodOverride *int64, fn func(*v1.PodStatus)) error { return nil } syncNodeStatus := func() {} var shutdownChan chan bool var shutdownChanMut sync.Mutex
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 29.8K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller.go
func (o byEvictionAndCreationTimestamp) Swap(i, j int) { o[i], o[j] = o[j], o[i] } func (o byEvictionAndCreationTimestamp) Less(i, j int) bool { iEvicted, jEvicted := eviction.PodIsEvicted(o[i].Status), eviction.PodIsEvicted(o[j].Status) // Evicted pod is smaller if iEvicted != jEvicted { return iEvicted } if o[i].CreationTimestamp.Equal(&o[j].CreationTimestamp) { return o[i].Name < o[j].Name }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0)