Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIntegerMaxUnavailableWithScaling (0.54 sec)

  1. pkg/controller/disruption/disruption_test.go

    	verifyEventEmitted(t, dc, "UnmanagedPods")
    
    }
    
    // Verify that an integer MaxUnavailable will recompute allowed disruptions when the scale of
    // the selected pod's controller is modified.
    func TestIntegerMaxUnavailableWithScaling(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    
    	pdb, pdbName := newMaxUnavailablePodDisruptionBudget(t, intstr.FromInt32(2))
    	add(t, dc.pdbStore, pdb)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top