Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 302 for unready (0.22 sec)

  1. pkg/controller/podautoscaler/replica_calculator_test.go

    			expectReadyPodCount: 0,
    			expectUnreadyPods:   sets.NewString("bentham"),
    			expectMissingPods:   sets.NewString(),
    			expectIgnoredPods:   sets.NewString(),
    		}, {
    			name: "unready an unready pod during initialization period - CPU",
    			pods: []*v1.Pod{
    				{
    					ObjectMeta: metav1.ObjectMeta{
    						Name: "lucretius",
    					},
    					Status: v1.PodStatus{
    						Phase: v1.PodSucceeded,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  2. pkg/controller/endpoint/endpoints_controller_test.go

    			expectedUnready: 0,
    		},
    		{
    			name:            "pod running phase and tolerate unready",
    			pod:             makePod(v1.PodRunning, false, false),
    			service:         makeService(true),
    			expectedReady:   1,
    			expectedUnready: 0,
    		},
    		{
    			name:            "pod running phase and tolerate unready being deleted",
    			pod:             makePod(v1.PodRunning, false, true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  3. pkg/controller/endpointslice/endpointslice_controller_test.go

    		},
    		expectedQueueLen: 1,
    	}, {
    		name: "lopsided but 1 unready, queue required because unready node means 0 CPU in one zone",
    		nodes: []nodeInfo{
    			{zoneLabel: &zoneA, ready: &readyFalse, cpu: &cpu100},
    			{zoneLabel: &zoneB, ready: &readyTrue, cpu: &cpu1000},
    			{zoneLabel: &zoneC, ready: &readyTrue, cpu: &cpu2000},
    		},
    		topologyCacheEnabled: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// Before accessing the cacher's cache, wait for the ready to be ok.
    	// This is necessary to prevent users from accessing structures that are
    	// uninitialized or are being repopulated right now.
    	// ready needs to be set to false when the cacher is paused or stopped.
    	// ready needs to be set to true when the cacher is ready to use after
    	// initialization.
    	ready *ready
    
    	// Underlying storage.Interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceregistry_test.go

    	newPod.Status.PodIPs = []v1.PodIP{
    		{
    			IP: pod.Status.PodIP,
    		},
    	}
    	newPod.Status.Phase = v1.PodRunning
    
    	// Also need to sets the pod to be ready as now we only add pod into service entry endpoint when it's ready
    	setPodReady(newPod)
    	_, err = c.CoreV1().Pods(pod.Namespace).UpdateStatus(context.TODO(), newPod, metav1.UpdateOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. pkg/proxy/endpointschangetracker_test.go

    					&BaseEndpointInfo{ip: "10.0.1.5", port: 80, endpoint: "10.0.1.5:80", isLocal: true, ready: true, serving: true, terminating: false},
    					&BaseEndpointInfo{ip: "10.0.2.1", port: 80, endpoint: "10.0.2.1:80", isLocal: false, ready: true, serving: true, terminating: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  7. pilot/pkg/model/push_context.go

    	)
    
    	// ProxyStatusEndpointNotReady represents proxies found not be ready.
    	// Updated by GetProxyServiceTargets. Normal condition when starting
    	// an app with readiness, error if it doesn't change to 0.
    	ProxyStatusEndpointNotReady = monitoring.NewGauge(
    		"pilot_endpoint_not_ready",
    		"Endpoint found in unready state.",
    	)
    
    	// ProxyStatusConflictOutboundListenerTCPOverTCP metric tracks number of
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  8. pkg/proxy/winkernel/proxier.go

    // IsLocal is part of proxy.Endpoint interface.
    func (info *endpointInfo) IsLocal() bool {
    	return info.isLocal
    }
    
    // IsReady returns true if an endpoint is ready and not terminating.
    func (info *endpointInfo) IsReady() bool {
    	return info.ready
    }
    
    // IsServing returns true if an endpoint is ready, regardless of it's terminating state.
    func (info *endpointInfo) IsServing() bool {
    	return info.serving
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	defer cacher.Stop()
    
    	result := &example.PodList{}
    
    	if !utilfeature.DefaultFeatureGate.Enabled(features.ResilientWatchCacheInitialization) {
    		if err := cacher.ready.wait(context.Background()); err != nil {
    			t.Fatalf("unexpected error waiting for the cache to be ready")
    		}
    	}
    
    	// Inject error to underlying layer and check if cacher is not bypassed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

       * @throws IllegalStateException if a maximum size or weight was already set
       */
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> maximumSize(long maximumSize) {
        checkState(
            this.maximumSize == UNSET_INT, "maximum size was already set to %s", this.maximumSize);
        checkState(
            this.maximumWeight == UNSET_INT,
            "maximum weight was already set to %s",
            this.maximumWeight);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top