Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnsupportedControllerPod (0.3 sec)

  1. pkg/controller/disruption/disruption_test.go

    	verifyEventEmitted(t, dc, "UnmanagedPods")
    }
    
    // Create a pod  with unsupported controller, and verify that a PDB with a percentage
    // specified won't allow a disruption.
    func TestUnsupportedControllerPod(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    
    	pdb, pdbName := newMinAvailablePodDisruptionBudget(t, intstr.FromString("28%"))
    	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