Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for oldReplicas (0.11 sec)

  1. pkg/controller/deployment/rolling_test.go

    	tests := []struct {
    		oldReplicas          int32
    		readyPods            int
    		unHealthyPods        int
    		maxCleanupCount      int
    		cleanupCountExpected int
    	}{
    		{
    			oldReplicas:          10,
    			readyPods:            8,
    			unHealthyPods:        2,
    			maxCleanupCount:      1,
    			cleanupCountExpected: 1,
    		},
    		{
    			oldReplicas:          10,
    			readyPods:            8,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set.go

    				curPS := cur.(*apps.StatefulSet)
    				if oldPS.Status.Replicas != curPS.Status.Replicas {
    					logger.V(4).Info("Observed updated replica count for StatefulSet", "statefulSet", klog.KObj(curPS), "oldReplicas", oldPS.Status.Replicas, "newReplicas", curPS.Status.Replicas)
    				}
    				ssc.enqueueStatefulSet(cur)
    			},
    			DeleteFunc: ssc.enqueueStatefulSet,
    		},
    	)
    	ssc.setLister = setInformer.Lister()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set.go

    	// sync, and all the listing is done using local stores.
    	if *(oldRS.Spec.Replicas) != *(curRS.Spec.Replicas) {
    		logger.V(4).Info("replicaSet updated. Desired pod count change.", "replicaSet", klog.KObj(oldRS), "oldReplicas", *(oldRS.Spec.Replicas), "newReplicas", *(curRS.Spec.Replicas))
    	}
    	rsc.enqueueRS(curRS)
    }
    
    func (rsc *ReplicaSetController) deleteRS(logger klog.Logger, obj interface{}) {
    	rs, ok := obj.(*apps.ReplicaSet)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top