Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for hnsEndpoints (0.16 sec)

  1. pkg/proxy/winkernel/proxier.go

    						continue
    					}
    					updateQueriedEndpoints(newHnsEndpoint, queriedEndpoints)
    				} else {
    
    					hnsEndpoint := &endpointInfo{
    						ip:         ep.ip,
    						isLocal:    false,
    						macAddress: ep.macAddress,
    					}
    
    					newHnsEndpoint, err = hns.createEndpoint(hnsEndpoint, hnsNetworkName)
    					if err != nil {
    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/winkernel/hns.go

    func (hns hns) getEndpointByID(id string) (*endpointInfo, error) {
    	hnsendpoint, err := hns.hcn.GetEndpointByID(id)
    	if err != nil {
    		return nil, err
    	}
    	return &endpointInfo{ //TODO: fill out PA
    		ip:         hnsendpoint.IpConfigurations[0].IpAddress,
    		isLocal:    uint32(hnsendpoint.Flags&hcn.EndpointFlagsRemoteEndpoint) == 0, //TODO: Change isLocal to isRemote
    		macAddress: hnsendpoint.MacAddress,
    		hnsID:      hnsendpoint.Id,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 21:21:12 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    					PacketsSent:     stat.PacketsSent,
    				}
    			}
    		}
    	}
    
    	return &eps, nil
    }
    
    func (s fakeNetworkStatsProvider) HNSListEndpointRequest() ([]hcsshim.HNSEndpoint, error) {
    	uniqueEndpoints := map[string]*hcsshim.HNSEndpoint{}
    
    	for _, c := range s.containers {
    		for _, stat := range c.hcsStats {
    			e, found := uniqueEndpoints[stat.EndpointId]
    			if found {
    				// add the container
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/init_windows.go

    	fs.BoolVar(&o.config.Winkernel.EnableDSR, "enable-dsr", o.config.Winkernel.EnableDSR, "If true make kube-proxy apply DSR policies for service VIP")
    	fs.StringVar(&o.config.Winkernel.RootHnsEndpointName, "root-hnsendpoint-name", "cbr0", "The name of the hns endpoint name for root namespace attached to l2bridge")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:41:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    		// 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]
    		clusterEndpoints, localEndpoints, allLocallyReachableEndpoints, hasEndpoints := proxy.CategorizeEndpoints(allEndpoints, svcInfo, proxier.nodeLabels)
    
    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. pkg/proxy/iptables/proxier.go

    		// 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]
    		clusterEndpoints, localEndpoints, allLocallyReachableEndpoints, hasEndpoints := proxy.CategorizeEndpoints(allEndpoints, svcInfo, proxier.nodeLabels)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cri_stats_provider_windows.go

    type windowsNetworkStatsProvider interface {
    	HNSListEndpointRequest() ([]hcsshim.HNSEndpoint, error)
    	GetHNSEndpointStats(endpointName string) (*hcsshim.HNSEndpointStats, error)
    }
    
    // networkStats exposes the required functionality for hcsshim in this scenario
    type networkStats struct{}
    
    func (s networkStats) HNSListEndpointRequest() ([]hcsshim.HNSEndpoint, error) {
    	return hcsshim.HNSListEndpointRequest()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. tests/integration/pilot/istioctl_test.go

    			}
    			hasEndpoints := false
    			for _, rawConfig := range rawConfigs {
    				configDump, ok := rawConfig.(map[string]any)
    				if !ok {
    					t.Fatalf("Failed to parse istioctl %s raw config dump element to map of any", strings.Join(args, " "))
    				}
    				if configDump["@type"] == "type.googleapis.com/envoy.admin.v3.EndpointsConfigDump" {
    					hasEndpoints = true
    					break
    				}
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. pkg/proxy/apis/config/types.go

    	// NAT when loadbalancing
    	SourceVip string
    	// enableDSR tells kube-proxy whether HNS policies should be created
    	// with DSR
    	EnableDSR bool
    	// rootHnsEndpointName is the name of hnsendpoint that is attached to
    	// l2bridge for root network namespace
    	RootHnsEndpointName string
    	// forwardHealthCheckVip forwards service VIP for health check port on
    	// Windows
    	ForwardHealthCheckVip bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. cluster/gce/windows/k8s-node-setup.psm1

                      "removing it and recreating it")
          $hns_endpoint | Remove-HnsEndpoint
          $hns_endpoint = $null
        }
        else {
          Log-Output "Skip: HNS endpoint $endpoint_name already exists"
        }
      }
      if (-not $hns_endpoint) {
        $hns_endpoint = New-HnsEndpoint `
            -NetworkId ${hns_network}.Id `
            -Name ${endpoint_name} `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
Back to top