Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updatePodOwnerToRc (0.36 sec)

  1. pkg/controller/disruption/disruption_test.go

    	rc.Name = "rc 1"
    	for i := 0; i < podCount; i++ {
    		updatePodOwnerToRc(t, pods[i], rc)
    	}
    	add(t, dc.rcStore, rc)
    	dc.sync(ctx, pdbName)
    	// One RC and 200%>1% healthy => disruption allowed
    	ps.VerifyDisruptionAllowed(t, pdbName, 1)
    
    	rc, _ = newReplicationController(t, 1)
    	rc.Name = "rc 2"
    	for i := 0; i < podCount; i++ {
    		updatePodOwnerToRc(t, pods[i], rc)
    	}
    	add(t, dc.rcStore, rc)
    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