Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for replenish (0.1 sec)

  1. pkg/controller/resourcequota/resource_quota_monitor.go

    }
    
    // QuotaMonitor contains all necessary information to track quotas and trigger replenishments
    type QuotaMonitor struct {
    	// each monitor list/watches a resource and determines if we should replenish quota
    	monitors    monitors
    	monitorLock sync.RWMutex
    	// informersStarted is closed after all the controllers have been initialized and are running.
    	// After that it is safe to start them here, before that it is not.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set_test.go

    		if activePods != *(rsSpec.Spec.Replicas) {
    			t.Fatalf("Unexpected number of active pods, expected %d, got %d", *(rsSpec.Spec.Replicas), activePods)
    		}
    		// Replenish the pod list, since we cut it down sizing up
    		pods = newPodList(nil, int(replicas), v1.PodRunning, labelMap, rsSpec, "pod")
    	}
    }
    
    func TestControllerBurstReplicas(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  3. pkg/controller/resourcequota/resource_quota_controller.go

    	if errors.IsNotFound(err) {
    		utilruntime.HandleError(fmt.Errorf("quota controller could not find ResourceQuota associated with namespace: %s, could take up to %v before a quota replenishes", namespace, rq.resyncPeriod()))
    		return
    	}
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("error checking to see if namespace %s has any ResourceQuota associated with it: %v", namespace, err))
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top