- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for removeOldestNSandboxes (0.55 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_gc.go
} } // Assume we removed the containers so that we're not too aggressive. return containers[:numToKeep] } // removeOldestNSandboxes removes the oldest inactive toRemove sandboxes and // returns the resulting slice. func (cgc *containerGC) removeOldestNSandboxes(ctx context.Context, sandboxes []sandboxGCInfo, toRemove int) { numToKeep := len(sandboxes) - toRemove if numToKeep > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 15.3K bytes - Viewed (0)