Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cleanupDeployment (0.16 sec)

  1. pkg/controller/deployment/sync_test.go

    		t.Logf(" &test.revisionHistoryLimit: %d", test.revisionHistoryLimit)
    		d := newDeployment("foo", 1, &test.revisionHistoryLimit, nil, nil, map[string]string{"foo": "bar"})
    		controller.cleanupDeployment(ctx, test.oldRSs, d)
    
    		gotDeletions := 0
    		for _, action := range fake.Actions() {
    			if action.GetVerb() == "delete" {
    				gotDeletions++
    			}
    		}
    		if gotDeletions != test.expectedDeletions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  2. pkg/controller/deployment/rolling.go

    	if err != nil {
    		return err
    	}
    	if scaledDown {
    		// Update DeploymentStatus
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    	}
    
    	if deploymentutil.DeploymentComplete(d, &d.Status) {
    		if err := dc.cleanupDeployment(ctx, oldRSs, d); err != nil {
    			return err
    		}
    	}
    
    	// Sync deployment status
    	return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top