Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for ServiceTypeLoadBalancer (0.42 sec)

  1. pilot/pkg/serviceregistry/kube/conversion.go

    			portMap[uint32(p.Port)] = uint32(p.NodePort)
    		}
    		istioService.Attributes.ClusterExternalPorts = map[cluster.ID]map[uint32]uint32{clusterID: portMap}
    		// address mappings will be done elsewhere
    	case corev1.ServiceTypeLoadBalancer:
    		if len(svc.Status.LoadBalancer.Ingress) > 0 {
    			var lbAddrs []string
    			for _, ingress := range svc.Status.LoadBalancer.Ingress {
    				if len(ingress.IP) > 0 {
    					lbAddrs = append(lbAddrs, ingress.IP)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. pkg/registry/core/service/storage/storage.go

    	if svc.Spec.Type == api.ServiceTypeNodePort {
    		return true
    	}
    	if svc.Spec.Type == api.ServiceTypeLoadBalancer &&
    		(svc.Spec.AllocateLoadBalancerNodePorts == nil || *svc.Spec.AllocateLoadBalancerNodePorts) {
    		return true
    	}
    	return false
    }
    
    func needsHCNodePort(svc *api.Service) bool {
    	if svc.Spec.Type != api.ServiceTypeLoadBalancer {
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/conversion_test.go

    		},
    		Spec: corev1.ServiceSpec{
    			Ports: []corev1.ServicePort{
    				{
    					Name:     "http",
    					Port:     80,
    					Protocol: corev1.ProtocolTCP,
    				},
    			},
    			Type: corev1.ServiceTypeLoadBalancer,
    		},
    		Status: corev1.ServiceStatus{
    			LoadBalancer: corev1.LoadBalancerStatus{
    				Ingress: addresses,
    			},
    		},
    	}
    
    	service := ConvertService(extSvc, domainSuffix, clusterID, nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. pkg/proxy/util/utils_test.go

    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "foo", Name: "bar"},
    				Spec: v1.ServiceSpec{
    					ClusterIP: "1.2.3.4",
    					Type:      v1.ServiceTypeLoadBalancer,
    				},
    			},
    			shouldSkip: false,
    		},
    	}
    
    	for i := range testCases {
    		skip := ShouldSkipService(testCases[i].service)
    		if skip != testCases[i].shouldSkip {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/defaults_test.go

    	}{
    		{
    			name:          "Set IP but not set IPMode with LoadbalancerIPMode disabled",
    			ipModeEnabled: false,
    			svc: &v1.Service{
    				Spec: v1.ServiceSpec{Type: v1.ServiceTypeLoadBalancer},
    				Status: v1.ServiceStatus{
    					LoadBalancer: v1.LoadBalancerStatus{
    						Ingress: []v1.LoadBalancerIngress{{
    							IP: "1.2.3.4",
    						}},
    					},
    				}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. pkg/apis/core/fuzzer/fuzzer.go

    			*p = types[c.Rand.Intn(len(types))]
    		},
    		func(p *core.ServiceType, c fuzz.Continue) {
    			types := []core.ServiceType{core.ServiceTypeClusterIP, core.ServiceTypeNodePort, core.ServiceTypeLoadBalancer}
    			*p = types[c.Rand.Intn(len(types))]
    		},
    		func(p *core.IPFamily, c fuzz.Continue) {
    			types := []core.IPFamily{core.IPv4Protocol, core.IPv6Protocol}
    			selected := types[c.Rand.Intn(len(types))]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier_test.go

    		NamespacedName: makeNSN("ns1", "svc1"),
    		Port:           "p80",
    	}
    
    	makeServiceMap(fp,
    		makeTestService(svcPortName.Namespace, svcPortName.Name, func(svc *v1.Service) {
    			svc.Spec.Type = v1.ServiceTypeLoadBalancer
    			svc.Spec.ClusterIP = svcIP
    			svc.Spec.ExternalIPs = []string{svcExternalIPs}
    			svc.Spec.Ports = []v1.ServicePort{{
    				Name:     svcPortName.Port,
    				Protocol: v1.ProtocolTCP,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    			controller:         features.ManagedGatewayController,
    			description:        "The default Istio GatewayClass",
    			templates:          "kube-gateway",
    			defaultServiceType: corev1.ServiceTypeLoadBalancer,
    			addressType:        gateway.HostnameAddressType,
    		},
    	}
    
    	if features.MultiNetworkGatewayAPI {
    		m[constants.UnmanagedGatewayController] = classInfo{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/proxier_test.go

    		NamespacedName: makeNSN("ns1", "svc1"),
    		Port:           "p80",
    	}
    
    	makeServiceMap(fp,
    		makeTestService(svcPortName.Namespace, svcPortName.Name, func(svc *v1.Service) {
    			svc.Spec.Type = v1.ServiceTypeLoadBalancer
    			svc.Spec.ClusterIP = svcIP
    			svc.Spec.ExternalIPs = []string{svcExternalIPs}
    			svc.Spec.Ports = []v1.ServicePort{{
    				Name:     svcPortName.Port,
    				Protocol: v1.ProtocolTCP,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/proxier_test.go

    	svcInfos := []struct {
    		svcType v1.ServiceType
    		svcIP   string
    		svcName string
    		epIP    string
    	}{
    		{v1.ServiceTypeClusterIP, "10.20.30.40", "svc1", "10.180.0.1"},
    		{v1.ServiceTypeLoadBalancer, "10.20.30.41", "svc2", "10.180.0.2"},
    		{v1.ServiceTypeNodePort, "10.20.30.42", "svc3", "10.180.0.3"},
    	}
    
    	for _, svcInfo := range svcInfos {
    		makeServiceMap(fp,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
Back to top