Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 642 for endpoints1 (0.32 sec)

  1. pkg/controller/endpoint/endpoints_controller.go

    	return !ok
    }
    
    // truncateEndpoints by best effort will distribute the endpoints over the subsets based on the proportion
    // of endpoints per subset and will prioritize Ready Endpoints over NotReady Endpoints.
    func truncateEndpoints(endpoints *v1.Endpoints) bool {
    	totalReady := 0
    	totalNotReady := 0
    	for _, subset := range endpoints.Subsets {
    		totalReady += len(subset.Addresses)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/proxier_test.go

    			eps.AddressType = discovery.AddressTypeIPv4
    			eps.Endpoints = []discovery.Endpoint{{
    				Addresses: []string{epIpAddressRemote},
    				NodeName:  ptr.To("testhost2"), // This will make this endpoint as a remote endpoint
    			}}
    			eps.Ports = []discovery.EndpointPort{{
    				Name:     ptr.To(svcPortName.Port),
    				Port:     ptr.To(int32(svcPort)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. cmd/bootstrap-peer-server.go

    	var clnts []*bootstrapRESTClient
    	for _, ep := range endpointServerPools {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				continue
    			}
    			if seenClient.Contains(endpoint.Host) {
    				continue
    			}
    			seenClient.Add(endpoint.Host)
    			clnts = append(clnts, &bootstrapRESTClient{gm.Connection(endpoint.GridHost())})
    		}
    	}
    	return clnts
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/network.go

    			return ""
    		}
    		if len(entries) > 1 {
    			log.Warnf("Found multiple networks CIDRs matching the endpoint IP: %s. Using the first match.", endpointIP)
    		}
    		if len(entries) > 0 {
    			return (entries[0].(namedRangerEntry)).name
    		}
    	}
    	return ""
    }
    
    // namedRangerEntry for holding network's CIDR and name
    type namedRangerEntry struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    	// set of active ClusterIPs.
    	clusterIPsSet = "cluster-ips"
    
    	// handling for services with no endpoints
    	serviceEndpointsCheckChain  = "service-endpoints-check"
    	nodePortEndpointsCheckChain = "nodeport-endpoints-check"
    	noEndpointServicesMap       = "no-endpoint-services"
    	noEndpointNodePortsMap      = "no-endpoint-nodeports"
    	rejectChain                 = "reject-chain"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. pilot/pkg/xds/eds_sh_test.go

    			// endpoints weighted accordingly with the IP of the ingress gateway.
    			network:   "network3",
    			sidecarID: sidecarID("10.3.0.1", "app3"),
    			want: expectedResults{
    				weights: map[string]uint32{
    					// 3 local endpoints.
    					"10.3.0.1": 2,
    					"10.3.0.2": 2,
    					"10.3.0.3": 2,
    
    					// 1 endpoint on network 1, accessed via gateway.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. pkg/controller/endpointslicemirroring/reconciler_test.go

    	// canonicalize endpoints to match the expected endpoints, otherwise the test
    	// that creates more endpoints than allowed fail becaused the list of final
    	// endpoints doesn't match.
    	for _, epSubset := range endpointsv1.RepackSubsets(endpoints.Subsets) {
    		if len(epSubset.Addresses) == 0 && len(epSubset.NotReadyAddresses) == 0 {
    			continue
    		}
    
    		var matchingEndpointsV4, matchingEndpointsV6 []discovery.Endpoint
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    		for _, stat := range c.hcsStats {
    			e, found := uniqueEndpoints[stat.EndpointId]
    			if found {
    				// add the container
    				e.SharedContainers = append(e.SharedContainers, c.container.ID)
    				continue
    			}
    
    			uniqueEndpoints[stat.EndpointId] = &hcsshim.HNSEndpoint{
    				Name:             stat.EndpointId,
    				Id:               stat.EndpointId,
    				SharedContainers: []string{c.container.ID},
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top