Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for ExternalIPs (0.18 sec)

  1. pkg/proxy/iptables/number_generated_rules_test.go

    			expectedNatRules:    325,
    		},
    
    		{
    			name: "0 Services 0 EndpointsPerService - LoadBalancer",
    			svcFunc: func(svc *v1.Service) {
    				svc.Spec.Type = v1.ServiceTypeLoadBalancer
    				svc.Spec.ExternalIPs = []string{"1.2.3.4"}
    				svc.Spec.LoadBalancerSourceRanges = []string{" 1.2.3.4/28"}
    				svc.Status.LoadBalancer.Ingress = []v1.LoadBalancerIngress{{
    					IP: "1.2.3.4",
    				}}
    			},
    			services:            0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/conversion.go

    	istioService.Attributes.NodeLocal = nodeLocal
    	if len(svc.Spec.ExternalIPs) > 0 {
    		if istioService.Attributes.ClusterExternalAddresses == nil {
    			istioService.Attributes.ClusterExternalAddresses = &model.AddressMap{}
    		}
    		istioService.Attributes.ClusterExternalAddresses.AddAddressesFor(clusterID, svc.Spec.ExternalIPs)
    	}
    
    	return istioService
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. manifests/charts/gateway/values.yaml

          targetPort: 80
        - name: https
          port: 443
          protocol: TCP
          targetPort: 443
        annotations: {}
        loadBalancerIP: ""
        loadBalancerSourceRanges: []
        externalTrafficPolicy: ""
        externalIPs: []
        ipFamilyPolicy: ""
        ipFamilies: []
        ## Whether to automatically allocate NodePorts (only for LoadBalancers).
        # allocateLoadBalancerNodePorts: false
    
      resources:
        requests:
          cpu: 100m
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 16:51:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. pkg/proxy/util/utils.go

    		if ip != nil {
    			// Since ip is parsed ok, GetIPFamilyFromIP will never return v1.IPFamilyUnknown
    			ipFamily := GetIPFamilyFromIP(ip)
    			ipFamilyMap[ipFamily] = append(ipFamilyMap[ipFamily], ip)
    		} else {
    			// ExternalIPs may not be validated by the api-server.
    			// Specifically empty strings validation, which yields into a lot
    			// of bad error logs.
    			if len(strings.TrimSpace(ipStr)) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers.go

    	switch svc.Spec.Type {
    	case api.ServiceTypeClusterIP:
    		if len(svc.Spec.ExternalIPs) > 0 {
    			return strings.Join(svc.Spec.ExternalIPs, ",")
    		}
    		return "<none>"
    	case api.ServiceTypeNodePort:
    		if len(svc.Spec.ExternalIPs) > 0 {
    			return strings.Join(svc.Spec.ExternalIPs, ",")
    		}
    		return "<none>"
    	case api.ServiceTypeLoadBalancer:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier.go

    					strconv.Itoa(svcInfo.Port()),
    				},
    				Value: []string{
    					internalTrafficFilterVerdict,
    				},
    				Comment: &svcPortNameString,
    			})
    		}
    
    		// Capture externalIPs.
    		for _, externalIP := range svcInfo.ExternalIPs() {
    			if hasEndpoints {
    				// Send traffic bound for external IPs to the "external
    				// destinations" chain.
    				tx.Add(&knftables.Element{
    					Map: serviceIPsMap,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  7. pkg/proxy/iptables/proxier.go

    				"-d", svcInfo.ClusterIP().String(),
    				"--dport", strconv.Itoa(svcInfo.Port()),
    				"-j", internalTrafficFilterTarget,
    			)
    		}
    
    		// Capture externalIPs.
    		for _, externalIP := range svcInfo.ExternalIPs() {
    			if hasEndpoints {
    				// Send traffic bound for external IPs to the "external
    				// destinations" chain.
    				natRules.Write(
    					"-A", string(kubeServicesChain),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  8. pkg/proxy/iptables/proxier_test.go

    )
    
    // Conventions for tests using NewFakeProxier:
    //
    // Pod IPs:             10.0.0.0/8
    // Service ClusterIPs:  172.30.0.0/16
    // Node IPs:            192.168.0.0/24
    // Local Node IP:       192.168.0.2
    // Service ExternalIPs: 192.168.99.0/24
    // LoadBalancer IPs:    1.2.3.4, 5.6.7.8, 9.10.11.12
    // Non-cluster IPs:     203.0.113.0/24
    // LB Source Range:     203.0.113.0/25
    
    const testHostname = "test-hostname"
    const testNodeIP = "192.168.0.2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (1)
  9. pkg/printers/internalversion/printers_test.go

    		{
    			// Test LoadBalancer service with mul ExternalIPs
    			service: api.Service{
    				ObjectMeta: metav1.ObjectMeta{Name: "test6"},
    				Spec: api.ServiceSpec{
    					Type: api.ServiceTypeLoadBalancer,
    					Ports: []api.ServicePort{
    						{
    							Protocol: "tcp",
    							Port:     8888,
    						},
    					},
    					ClusterIPs:  []string{"10.9.8.7"},
    					ExternalIPs: mulExternalIP,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/controller.go

    	}
    }
    
    func (c *Controller) addOrUpdateService(pre, curr *v1.Service, currConv *model.Service, event model.Event, updateEDSCache bool) {
    	needsFullPush := false
    	// First, process nodePort gateway service, whose externalIPs specified
    	// and loadbalancer gateway service
    	if currConv.Attributes.ClusterExternalAddresses.Len() > 0 {
    		needsFullPush = c.extractGatewaysFromService(currConv)
    	} else if isNodePortGatewayService(curr) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top