- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isPodTerminating (0.14 sec)
-
pkg/controller/podgc/gc_controller.go
if phase := pod.Status.Phase; phase != v1.PodPending && phase != v1.PodRunning && phase != v1.PodUnknown { return true } return false } // isPodTerminating returns true if the pod is terminating. func isPodTerminating(pod *v1.Pod) bool { return pod.ObjectMeta.DeletionTimestamp != nil } func (gcc *PodGCController) gcTerminating(ctx context.Context, pods []*v1.Pod) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0)