Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for endpoints2 (0.21 sec)

  1. 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)
  2. pkg/proxy/winkernel/proxier.go

    		// Remove only remote endpoints created by this service
    		if *ep.refCount <= 0 && !ep.IsLocal() {
    			klog.V(4).InfoS("Removing endpoints, since no one is referencing it", "endpoint", ep)
    			err := ep.hns.deleteEndpoint(ep.hnsID)
    			if err == nil {
    				ep.hnsID = ""
    			} else {
    				klog.ErrorS(err, "Endpoint deletion failed", "ip", ep.IP())
    			}
    		}
    
    		ep.refCount = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier.go

    		svcPortNameString := svcInfo.nameString
    
    		// Figure out the endpoints for Cluster and Local traffic policy.
    		// allLocallyReachableEndpoints is the set of all endpoints that can be routed to
    		// from this node, given the service's traffic policies. hasEndpoints is true
    		// if the service has any usable endpoints on any node, not just this one.
    		allEndpoints := proxier.endpointsMap[svcName]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	if len(svcs) != 1 {
    		t.Fatalf("failed to get services (%v)", svcs)
    	}
    
    	endpoints := GetEndpoints(svcs[0], ctl.Endpoints)
    
    	want := []string{"2.2.2.2:8082", "2.2.2.2:8083"} // expect both WorkloadEntries even though they have the same IP
    
    	got := make([]string, 0, len(endpoints))
    	for _, instance := range endpoints {
    		got = append(got, net.JoinHostPort(instance.Address, strconv.Itoa(int(instance.EndpointPort))))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		}
    		sort.Strings(out)
    		return out
    	}
    
    	sort.Slice(endpoints, func(i, j int) bool {
    		if endpoints[i].EndpointPort == endpoints[j].EndpointPort {
    			if endpoints[i].Address == endpoints[j].Address {
    				if len(endpoints[i].Labels) == len(endpoints[j].Labels) {
    					iLabels := labelsToSlice(endpoints[i].Labels)
    					jLabels := labelsToSlice(endpoints[j].Labels)
    					for k := range iLabels {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	}
    	for i := range endpoints {
    		endpoints[i].SetPoolIndex(poolIdx)
    		endpoints[i].SetSetIndex(i / drivesPerSet)
    		endpoints[i].SetDiskIndex(i % drivesPerSet)
    	}
    	return endpoints
    }
    
    func getEndpointsLocalAddr(endpointServerPools EndpointServerPools) string {
    	for _, endpoints := range endpointServerPools {
    		for _, endpoint := range endpoints.Endpoints {
    			if endpoint.IsLocal && endpoint.Type() == URLEndpointType {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. pkg/controller/endpointslice/endpointslice_controller_test.go

    				Name: "epSlice2",
    			},
    			AddressType: discovery.AddressTypeIPv4,
    			Endpoints: []discovery.Endpoint{
    				{
    					Addresses: []string{"172.18.0.2"},
    				},
    			},
    		},
    		{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "epSlice3",
    			},
    			AddressType: discovery.AddressTypeIPv6,
    			Endpoints: []discovery.Endpoint{
    				{
    					Addresses: []string{"3001:0da8:75a3:0000:0000:8a2e:0370:7334"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceregistry_test.go

    	t.Helper()
    	// The system is eventually consistent, so add some retries
    	retry.UntilSuccessOrFail(t, func() error {
    		endpoints := GetEndpointsForPort(svc, ei, port)
    		if endpoints == nil {
    			endpoints = []*model.IstioEndpoint{} // To simplify tests a bit
    		}
    		got := slices.Map(endpoints, func(e *model.IstioEndpoint) EndpointResponse {
    			return EndpointResponse{
    				Address: e.Address,
    				Port:    e.EndpointPort,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.NotContains(testManager.healthyDevices, resourceName1)
    	as.NotContains(testManager.unhealthyDevices, resourceName1)
    	as.NotContains(testManager.endpoints, resourceName1)
    	as.Equal(1, len(testManager.endpoints))
    
    	// Stops resourceName2 endpoint. Verifies its stopTime is set, allocate and
    	// preStartContainer calls return errors.
    	e2.client.Disconnect()
    	as.False(e2.stopTime.IsZero())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/proxier.go

    		return err
    	}
    	for _, des := range curDests {
    		curEndpoints.Insert(des.String())
    	}
    
    	endpoints := proxier.endpointsMap[svcPortName]
    
    	// Filtering for topology aware endpoints. This function will only
    	// filter endpoints if appropriate feature gates are enabled and the
    	// Service does not have conflicting configuration such as
    	// externalTrafficPolicy=Local.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
Back to top