Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getNewReplicaSet (0.17 sec)

  1. pkg/controller/deployment/sync.go

    	_, allOldRSs := deploymentutil.FindOldReplicaSets(d, rsList)
    
    	// Get new replica set with the updated revision number
    	newRS, err := dc.getNewReplicaSet(ctx, d, rsList, allOldRSs, createIfNotExisted)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	return newRS, allOldRSs, nil
    }
    
    const (
    	// limit revision history length to 100 element (~2000 chars)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. pkg/controller/deployment/util/deployment_util.go

    	rsAnnotationsChanged := false
    	if rs.Annotations == nil {
    		rs.Annotations = make(map[string]string)
    	}
    	for k, v := range deployment.Annotations {
    		// newRS revision is updated automatically in getNewReplicaSet, and the deployment's revision number is then updated
    		// by copying its newRS revision number. We should not copy deployment's revision to its newRS, since the update of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
Back to top