- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for terminatingPod (0.17 sec)
-
pkg/controller/podgc/gc_controller.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/proxy/endpointslicecache_test.go
return endpointSlice } func generateEndpointSlice(serviceName, namespace string, sliceNum, numEndpoints, unreadyMod int, terminatingMod int, hosts []string, portNums []*int32) *discovery.EndpointSlice { return generateEndpointSliceWithOffset(serviceName, namespace, sliceNum, sliceNum, numEndpoints, unreadyMod, terminatingMod, hosts, portNums) } // cacheMutationCheck helps ensure that cached objects have not been changed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 24.9K bytes - Viewed (0) -
pkg/controller/job/indexed_job_utils.go
} // firstPendingIndexes returns `count` indexes less than `completions` that are // not covered by `activePods`, `succeededIndexes` or `failedIndexes`. // In cases of PodReplacementPolicy as Failed we will include `terminatingPods` in this list. func firstPendingIndexes(jobCtx *syncJobCtx, count, completions int) []int { if count == 0 { return nil } active := getIndexes(jobCtx.activePods) result := make([]int, 0, count)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 00:44:53 UTC 2023 - 17.5K bytes - Viewed (0) -
pkg/controller/controller_utils_test.go
podList.Items[3].SetDeletionTimestamp(&now) var podPointers []*v1.Pod for i := range podList.Items { podPointers = append(podPointers, &podList.Items[i]) } terminatingPods := CountTerminatingPods(podPointers) assert.Equal(t, terminatingPods, int32(2)) terminatingList := FilterTerminatingPods(podPointers) assert.Equal(t, len(terminatingList), int(2)) } func TestActivePodFiltering(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0)