- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for numToKeep (0.16 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_gc.go
// Remove from oldest to newest (last to first). numToKeep := len(containers) - toRemove if numToKeep > 0 { sort.Sort(byCreated(containers)) } for i := len(containers) - 1; i >= numToKeep; i-- { if containers[i].unknown { // Containers in known state could be running, we should try // to stop it before removal.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 15.3K bytes - Viewed (0)