Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for endpointMap (0.27 sec)

  1. pkg/proxy/winkernel/proxier.go

    		svcInfo.cleanupAllPolicies(proxier.endpointsMap[*svcPortName], proxier.mapStaleLoadbalancers, true)
    	} else {
    		// If no service exists, just cleanup the remote endpoints
    		klog.V(3).InfoS("Endpoints are orphaned, cleaning up")
    		// Cleanup Endpoints references
    		epInfos, exists := proxier.endpointsMap[*svcPortName]
    
    		if exists {
    			// Cleanup Endpoints references
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/proxier.go

    		endpointIP = strings.ReplaceAll(endpointIP, ":", ".")
    	}
    
    	// As above, we use "/" to separate parts of the name, and "__" to separate the
    	// "service" part from the "endpoint" part.
    	name := fmt.Sprintf("%s/%s/%s/%s__%s/%s",
    		servicePortName.NamespacedName.Namespace,
    		servicePortName.NamespacedName.Name,
    		protocol,
    		servicePortName.Port,
    		endpointIP,
    		endpointPort,
    	)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. pkg/proxy/conntrack/cleanup.go

    	for _, epSvcPair := range endpointsUpdateResult.DeletedUDPEndpoints {
    		if svcInfo, ok := svcPortMap[epSvcPair.ServicePortName]; ok {
    			endpointIP := proxyutil.IPPart(epSvcPair.Endpoint)
    			nodePort := svcInfo.NodePort()
    			var err error
    			if nodePort != 0 {
    				err = ct.ClearEntriesForPortNAT(endpointIP, nodePort, v1.ProtocolUDP)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. pkg/proxy/endpointslicecache.go

    	return true
    }
    
    // endpointsMapFromEndpointInfo computes an endpointsMap from endpointInfo that
    // has been grouped by service port and IP.
    func endpointsMapFromEndpointInfo(endpointInfoBySP map[ServicePortName]map[string]Endpoint) EndpointsMap {
    	endpointsMap := EndpointsMap{}
    
    	// transform endpointInfoByServicePort into an endpointsMap with sorted IPs.
    	for svcPortName, endpointSet := range endpointInfoBySP {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. pkg/proxy/topology.go

    	endpointsMap := make(map[string]Endpoint, len(clusterEndpoints)+len(localEndpoints))
    	for _, ep := range clusterEndpoints {
    		endpointsMap[ep.String()] = ep
    	}
    	for _, ep := range localEndpoints {
    		endpointsMap[ep.String()] = ep
    	}
    	allReachableEndpoints = make([]Endpoint, 0, len(endpointsMap))
    	for _, ep := range endpointsMap {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 06:46:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. pkg/proxy/winkernel/proxier_test.go

    		remoteSubnets: remoteSubnets,
    	}
    	hnsNetwork := newHnsNetwork(hnsNetworkInfo)
    	hcnMock := fakehcn.NewHcnMock(hnsNetwork)
    	proxier := &Proxier{
    		svcPortMap:          make(proxy.ServicePortMap),
    		endpointsMap:        make(proxy.EndpointsMap),
    		hostname:            testHostName,
    		nodeIP:              nodeIP,
    		serviceHealthServer: healthcheck.NewFakeServiceHealthServer(),
    		network:             *hnsNetworkInfo,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/network.go

    	n.RLock()
    	defer n.RUnlock()
    	return n.network
    }
    
    func (n *networkManager) networkFromMeshNetworks(endpointIP string) network.ID {
    	n.RLock()
    	defer n.RUnlock()
    	if n.networkFromMeshConfig != "" {
    		return n.networkFromMeshConfig
    	}
    
    	if n.ranger != nil {
    		ip := net.ParseIP(endpointIP)
    		if ip == nil {
    			return ""
    		}
    		entries, err := n.ranger.ContainingNetworks(ip)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go

    // return the mesh network for the endpoint IP. Empty string if not found.
    func (b *EndpointBuilder) endpointNetwork(endpointIP string) network.ID {
    	// If we're building the endpoint based on proxy meta, prefer the injected ISTIO_META_NETWORK value.
    	if b.metaNetwork != "" {
    		return b.metaNetwork
    	}
    
    	return b.controller.Network(endpointIP, b.labels)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. pkg/proxy/winkernel/hns_test.go

    		MacAddress:       epMacAddress,
    		SchemaVersion: hcn.SchemaVersion{
    			Major: 2,
    			Minor: 0,
    		},
    	}
    	endpointA, err := Network.CreateEndpoint(endpointASpec)
    	if err != nil {
    		t.Error(err)
    	}
    	endpointInfoA := &endpointInfo{
    		ip:    endpointA.IpConfigurations[0].IpAddress,
    		hnsID: endpointA.Id,
    	}
    	// Create Endpoint B
    	ipConfigB := &hcn.IpConfig{
    		IpAddress: epIpAddressB,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. pkg/controller/endpoint/endpoints_controller.go

    		if (ipFamily == v1.IPv6Protocol) == utilnet.IsIPv6String(podIP.IP) {
    			endpointIP = podIP.IP
    			break
    		}
    	}
    
    	if endpointIP == "" {
    		return nil, fmt.Errorf("failed to find a matching endpoint for service %v", svc.Name)
    	}
    
    	return &v1.EndpointAddress{
    		IP:       endpointIP,
    		NodeName: &pod.Spec.NodeName,
    		TargetRef: &v1.ObjectReference{
    			Kind:      "Pod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top