- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for pastActiveDeadline (0.57 sec)
-
pkg/kubelet/active_deadline.go
func (m *activeDeadlineHandler) ShouldSync(pod *v1.Pod) bool { return m.pastActiveDeadline(pod) } // ShouldEvict returns true if the pod is past its active deadline. // It dispatches an event that the pod should be evicted if it is past its deadline. func (m *activeDeadlineHandler) ShouldEvict(pod *v1.Pod) lifecycle.ShouldEvictResponse { if !m.pastActiveDeadline(pod) { return lifecycle.ShouldEvictResponse{Evict: false} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 10 10:20:09 UTC 2021 - 3.2K bytes - Viewed (0)