Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for disruptedPods (0.19 sec)

  1. pkg/controller/disruption/disruption_test.go

    		// Each eviction,
    		// - decrements DisruptionsAllowed
    		// - adds the pod to DisruptedPods
    		// - deletes the pod
    		updatedPDB.Status.DisruptionsAllowed -= int32(len(podNames))
    		updatedPDB.Status.DisruptedPods = make(map[string]metav1.Time)
    		for _, name := range podNames {
    			updatedPDB.Status.DisruptedPods[name] = metav1.NewTime(dc.clock.Now())
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    						name: "node1",
    					},
    				},
    			},
    			expectedNumFilterCalled: []int32{3},
    		},
    		{
    			name: "preemption with violation of the pdb with pod whose eviction was processed, the victim doesn't belong to DisruptedPods",
    			registerPlugins: []tf.RegisterPluginFunc{
    				tf.RegisterPluginAsExtensions(noderesources.Name, nodeResourcesFitFunc, "Filter", "PreFilter"),
    			},
    			nodeNames: []string{"node1"},
    			testPods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top