Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,793 for unready (0.18 sec)

  1. pkg/kubelet/status/generate_test.go

    		},
    	}
    
    	for i, test := range tests {
    		ready := GenerateContainersReadyCondition(test.spec, test.containerStatuses, test.podPhase)
    		if !reflect.DeepEqual(ready, test.expectReady) {
    			t.Errorf("On test case %v, expectReady:\n%+v\ngot\n%+v\n", i, test.expectReady, ready)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  2. pkg/proxy/endpointslicecache_test.go

    				},
    			},
    		},
    		// 2 slices with all endpoints overlapping, more unready in first than
    		// second. If an endpoint is marked ready, we add it to the
    		// EndpointsMap, even if conditions.Ready isn't true for another
    		// matching endpoint
    		"2 slices, overlapping endpoints, some endpoints unready in 1 or both": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/config/types.go

    	// HorizontalPodAutoscalerInitialReadinessDelay is period after pod start during which readiness
    	// changes are treated as readiness being set for the first time. The only effect of this is that
    	// HPA will disregard CPU samples from unready pods that had last readiness change during that
    	// period.
    	HorizontalPodAutoscalerInitialReadinessDelay metav1.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. 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)
  5. pilot/pkg/networking/core/cluster_traffic_policy.go

    	locality *core.Locality, proxyLabels map[string]string, meshConfig *meshconfig.MeshConfig,
    ) {
    	// Disable panic threshold when SendUnhealthyEndpoints is enabled as enabling it "may" send traffic to unready
    	// end points when load balancer is in panic mode.
    	if features.SendUnhealthyEndpoints.Load() {
    		c.CommonLbConfig.HealthyPanicThreshold = &xdstype.Percent{Value: 0}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. pkg/kubelet/status/generate.go

    		}
    	}
    
    	return v1.PodCondition{
    		Type:   v1.ContainersReady,
    		Status: v1.ConditionTrue,
    	}
    }
    
    // GeneratePodReadyCondition returns "Ready" condition of a pod.
    // The status of "Ready" condition is "True", if all containers in a pod are ready
    // AND all matching conditions specified in the ReadinessGates have status equal to "True".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. pkg/proxy/topology_test.go

    			&BaseEndpointInfo{endpoint: "10.0.0.1:80", ready: false},
    		},
    		clusterEndpoints: sets.New[string](),
    		localEndpoints:   nil,
    	}, {
    		name:        "Cluster traffic policy, some endpoints are Ready",
    		serviceInfo: &BaseServicePortInfo{},
    		endpoints: []Endpoint{
    			&BaseEndpointInfo{endpoint: "10.0.0.0:80", ready: false},
    			&BaseEndpointInfo{endpoint: "10.0.0.1:80", ready: true},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers.go

    		} else {
    			// If oldpod != ready && newpod != ready, but the ambient annotation was added,
    			// then assume this event was generated by the CNI plugin labeling the pod on startup,
    			// and skip the event.
    			//
    			// This isn't perfect (someone could manually annotate an unready pod,
    			// then install Istio, then the pod goes ready, and we'd miss capture) - but that
    			// seems vanishingly unlikely
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. pkg/controller/daemon/update_test.go

    		logger.Info("marked pod ready", "pod", pod.Name, "ready", ready)
    		count--
    	}
    	if count > 0 {
    		t.Fatalf("could not mark %d pods ready=%t", count, ready)
    	}
    }
    
    func currentDSHash(dsc *daemonSetsController, ds *apps.DaemonSet) (string, error) {
    	// Construct histories of the DaemonSet, and get the hash of current history
    	cur, _, err := dsc.constructHistory(context.TODO(), ds)
    	if err != nil {
    		return "", err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  10. 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)
Back to top