Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for externalIPs (0.86 sec)

  1. 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)
  2. 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 (0)
  3. 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)
  4. 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)
  5. pkg/apis/core/types.go

    	// and requires Type to be ExternalName.
    	ExternalName string
    
    	// ExternalIPs are used by external load balancers, or can be set by
    	// users to handle external traffic that arrives at a node.
    	// +optional
    	ExternalIPs []string
    
    	// Only applies to Service Type: LoadBalancer
    	// LoadBalancer will get created with the IP specified in this field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  6. pkg/apis/core/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	if in.IPFamilyPolicy != nil {
    		in, out := &in.IPFamilyPolicy, &out.IPFamilyPolicy
    		*out = new(IPFamilyPolicy)
    		**out = **in
    	}
    	if in.ExternalIPs != nil {
    		in, out := &in.ExternalIPs, &out.ExternalIPs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.SessionAffinityConfig != nil {
    		in, out := &in.SessionAffinityConfig, &out.SessionAffinityConfig
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    			(*out)[key] = val
    		}
    	}
    	if in.ClusterIPs != nil {
    		in, out := &in.ClusterIPs, &out.ClusterIPs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.ExternalIPs != nil {
    		in, out := &in.ExternalIPs, &out.ExternalIPs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.LoadBalancerSourceRanges != nil {
    		in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/types.go

    	// that are not part of the Kubernetes system.
    	// +optional
    	// +listType=atomic
    	ExternalIPs []string `json:"externalIPs,omitempty" protobuf:"bytes,5,rep,name=externalIPs"`
    
    	// Supports "ClientIP" and "None". Used to maintain session affinity.
    	// Enable client IP based session affinity.
    	// Must be ClientIP or None.
    	// Defaults to None.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/defaults_test.go

    		t.Errorf("Expected ExternalTrafficPolicy to be %v, got %v", v1.ServiceExternalTrafficPolicyCluster, out.Spec.ExternalTrafficPolicy)
    	}
    
    	in = &v1.Service{Spec: v1.ServiceSpec{Type: v1.ServiceTypeClusterIP, ExternalIPs: []string{"1.2.3.4"}}}
    	obj = roundTrip(t, runtime.Object(in))
    	out = obj.(*v1.Service)
    	if out.Spec.ExternalTrafficPolicy != v1.ServiceExternalTrafficPolicyCluster {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    			s.Spec.ExternalTrafficPolicy = core.ServiceExternalTrafficPolicyCluster
    			s.Spec.ExternalIPs = []string{"127.0.0.1"}
    		},
    		numErrs: 1,
    	}, {
    		name: "invalid publicIPs unspecified",
    		tweakSvc: func(s *core.Service) {
    			s.Spec.ExternalTrafficPolicy = core.ServiceExternalTrafficPolicyCluster
    			s.Spec.ExternalIPs = []string{"0.0.0.0"}
    		},
    		numErrs: 1,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top