Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RSes (0.04 sec)

  1. pkg/controller/deployment/rolling.go

    	logger.V(4).Info("Cleaned up unhealthy replicas from old RSes", "count", cleanupCount)
    
    	// Scale down old replica sets, need check maxUnavailable to ensure we can scale down
    	allRSs = append(oldRSs, newRS)
    	scaledDownCount, err := dc.scaleDownOldReplicaSetsForRollingUpdate(ctx, allRSs, oldRSs, deployment)
    	if err != nil {
    		return false, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. pkg/controller/deployment/sync.go

    // 3. If there's no existing new RS and createIfNotExisted is true, create one with appropriate revision number (maxOldRevision + 1) and replicas.
    // Note that the pod-template-hash will be added to adopted RSes and pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  3. pkg/controller/deployment/util/deployment_util.go

    	}
    	oldRevision, ok := newRS.Annotations[RevisionAnnotation]
    	// The newRS's revision should be the greatest among all RSes. Usually, its revision number is newRevision (the max revision number
    	// of all old RSes + 1). However, it's possible that some of the old RSes are deleted after the newRS revision being updated, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils.go

    // FilterReplicaSets returns replica sets that are filtered by filterFn (all returned ones should match filterFn).
    func FilterReplicaSets(RSes []*apps.ReplicaSet, filterFn filterRS) []*apps.ReplicaSet {
    	var filtered []*apps.ReplicaSet
    	for i := range RSes {
    		if filterFn(RSes[i]) {
    			filtered = append(filtered, RSes[i])
    		}
    	}
    	return filtered
    }
    
    // PodKey returns a key unique to the given pod within a cluster.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top