Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 853 for endpoints1 (0.16 sec)

  1. pilot/pkg/networking/util/util.go

    func cloneLocalityLbEndpoints(endpoints []*endpoint.LocalityLbEndpoints) []*endpoint.LocalityLbEndpoints {
    	out := make([]*endpoint.LocalityLbEndpoints, 0, len(endpoints))
    	for _, ep := range endpoints {
    		clone := CloneLocalityLbEndpoint(ep)
    		out = append(out, clone)
    	}
    	return out
    }
    
    // return a shallow copy of LocalityLbEndpoints
    func CloneLocalityLbEndpoint(ep *endpoint.LocalityLbEndpoints) *endpoint.LocalityLbEndpoints {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. pkg/workloadapi/workload.proto

        // that match less (or, eventually, none) preferences.
        // For instance, with `[NETWORK, REGION, ZONE]`, we will send to:
        // 1. Endpoints matching `[NETWORK, REGION, ZONE]`
        // 2. Endpoints matching `[NETWORK, REGION]`
        // 3. Endpoints matching `[NETWORK]`
        // 4. Any endpoints
        FAILOVER = 2;
      }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider_windows.go

    			continue
    		}
    
    		// only add the interface for each container if not already in the list
    		for _, cId := range endpoint.SharedContainers {
    			networkStat, found := networkStats[cId]
    			if found && networkStat.Name != endpoint.Name {
    				iStat := hcsStatToInterfaceStat(endpointStats, endpoint.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. pilot/pkg/xds/endpoints/endpoint_builder.go

    		healthStatus = model.Draining
    	}
    
    	ep := &endpoint.LbEndpoint{
    		HealthStatus: corev3.HealthStatus(healthStatus),
    		LoadBalancingWeight: &wrapperspb.UInt32Value{
    			Value: e.GetLoadBalancingWeight(),
    		},
    		HostIdentifier: &endpoint.LbEndpoint_Endpoint{
    			Endpoint: &endpoint.Endpoint{
    				Address: addr,
    			},
    		},
    		Metadata: &corev3.Metadata{},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. prow/config/calico.yaml

                      traffic that goes from a workload endpoint to the host itself (after
                      the traffic hits the endpoint egress policy). By default Calico
                      blocks traffic from workload endpoints to the host itself with an
                      iptables "DROP" action. If you want to allow some or all traffic
                      from endpoint to host, set this parameter to RETURN or ACCEPT. Use
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
  6. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go

    		testName: "Endpoints with skip-mirror=true",
    		endpoints: &v1.Endpoints{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "test-endpoints",
    				Labels: map[string]string{
    					discovery.LabelSkipMirror: "true",
    				},
    			},
    		},
    		shouldMirror: false,
    	}, {
    		testName: "Endpoints with skip-mirror=invalid",
    		endpoints: &v1.Endpoints{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "test-endpoints",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  7. pkg/controller/endpoint/endpoints_controller_test.go

    				},
    			}
    			endpoints.serviceStore.Add(service)
    			endpoints.onServiceUpdate(service)
    			endpoints.podsSynced = test.podsSynced
    			endpoints.servicesSynced = test.servicesSynced
    			endpoints.endpointsSynced = test.endpointsSynced
    			endpoints.workerLoopPeriod = 10 * time.Millisecond
    			go endpoints.Run(tCtx, 1)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  8. pkg/proxy/healthcheck/healthcheck_test.go

    	}
    	if hcs.services[nsn1].endpoints != 0 {
    		t.Errorf("expected 0 endpoints, got %d", hcs.services[nsn1].endpoints)
    	}
    	if hcs.services[nsn2].endpoints != 0 {
    		t.Errorf("expected 0 endpoints, got %d", hcs.services[nsn2].endpoints)
    	}
    	if hcs.services[nsn3].endpoints != 0 {
    		t.Errorf("expected 0 endpoints, got %d", hcs.services[nsn3].endpoints)
    	}
    	if len(listener.openPorts) != 3 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    // onEndpointsAdd queues a sync for the relevant Endpoints resource.
    func (c *Controller) onEndpointsAdd(logger klog.Logger, obj interface{}) {
    	endpoints := obj.(*v1.Endpoints)
    	if endpoints == nil {
    		utilruntime.HandleError(fmt.Errorf("onEndpointsAdd() expected type v1.Endpoints, got %T", obj))
    		return
    	}
    	if !c.shouldMirror(endpoints) {
    		logger.V(5).Info("Skipping mirroring", "endpoints", klog.KObj(endpoints))
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. pkg/proxy/topology_test.go

    		serviceInfo: &BaseServicePortInfo{},
    		endpoints: []Endpoint{
    			&BaseEndpointInfo{endpoint: "10.0.0.0:80", ready: false},
    			&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{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top