- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for ServiceTypeLoadBalancer (0.43 sec)
-
pkg/proxy/iptables/number_generated_rules_test.go
TargetPort: intstr.FromInt32(int32(epPort)), }, } if svc.Spec.Type == v1.ServiceTypeNodePort || svc.Spec.Type == v1.ServiceTypeLoadBalancer { services[i].Spec.Ports[0].NodePort = int32(30000 + i) } if svc.Spec.Type == v1.ServiceTypeLoadBalancer { services[i].Spec.HealthCheckNodePort = int32(32000 + nServices + i) } endpointSlices[i] = eps.DeepCopy()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 13.1K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
s.Spec.ExternalTrafficPolicy = core.ServiceExternalTrafficPolicyCluster }, numErrs: 1, }, { name: "valid type loadbalancer 2 ports", tweakSvc: func(s *core.Service) { s.Spec.Type = core.ServiceTypeLoadBalancer s.Spec.ExternalTrafficPolicy = core.ServiceExternalTrafficPolicyCluster s.Spec.AllocateLoadBalancerNodePorts = utilpointer.Bool(true)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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 (1) -
pkg/apis/core/validation/validation.go
} } } if service.Spec.AllocateLoadBalancerNodePorts != nil && service.Spec.Type != core.ServiceTypeLoadBalancer { allErrs = append(allErrs, field.Forbidden(specPath.Child("allocateLoadBalancerNodePorts"), "may only be used when `type` is 'LoadBalancer'")) } if service.Spec.Type == core.ServiceTypeLoadBalancer && service.Spec.AllocateLoadBalancerNodePorts == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
} return "<none>" case api.ServiceTypeNodePort: if len(svc.Spec.ExternalIPs) > 0 { return strings.Join(svc.Spec.ExternalIPs, ",") } return "<none>" case api.ServiceTypeLoadBalancer: lbIps := loadBalancerStatusStringer(svc.Status.LoadBalancer, wide) if len(svc.Spec.ExternalIPs) > 0 { results := []string{} if len(lbIps) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0)