Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UIDs (0.08 sec)

  1. pkg/controller/job/job_controller_test.go

    				{
    					UncountedTerminatedPods: &batch.UncountedTerminatedPods{
    						Succeeded: func() []types.UID {
    							uids := make([]types.UID, 499)
    							for i := range uids {
    								uids[i] = types.UID(strconv.Itoa(i))
    							}
    							return uids
    						}(),
    						Failed: []types.UID{"b"},
    					},
    					Failed: 1,
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	return pod
    }
    
    func expectInFlightPods(t *testing.T, q *PriorityQueue, uids ...types.UID) {
    	t.Helper()
    	var actualUIDs []types.UID
    	for uid := range q.inFlightPods {
    		actualUIDs = append(actualUIDs, uid)
    	}
    	sortUIDs := cmpopts.SortSlices(func(a, b types.UID) bool { return a < b })
    	if diff := cmp.Diff(uids, actualUIDs, sortUIDs); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    	// deleted and recreated with the same UID while the pod worker was driving its lifecycle (very
    	// very rare for API pods, common for static pods with fixed UIDs). Containers that may still
    	// be running from a previous execution must be reconciled by the pod worker's sync method.
    	// We must use active pods because that is the set of admitted pods (podManager includes pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top