- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for ServiceTypeLoadBalancer (0.38 sec)
-
pkg/registry/core/service/strategy_test.go
svc: makeValidServiceCustom(func(svc *api.Service) { svc.Spec.Type = api.ServiceTypeLoadBalancer svc.Status.LoadBalancer = api.LoadBalancerStatus{ Ingress: []api.LoadBalancerIngress{{ IP: "1.2.3.4", }}, } }), oldSvc: makeValidServiceCustom(func(svc *api.Service) { svc.Spec.Type = api.ServiceTypeLoadBalancer svc.Status.LoadBalancer = api.LoadBalancerStatus{} }),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 32.4K bytes - Viewed (0) -
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/proxy/servicechangetracker_test.go
}, }, { desc: "load balancer service", ipFamily: v1.IPv4Protocol, service: makeTestService("ns1", "load-balancer", func(svc *v1.Service) { svc.Spec.Type = v1.ServiceTypeLoadBalancer svc.Spec.ClusterIP = "172.16.55.11" svc.Spec.LoadBalancerIP = "5.6.7.8" svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port3", "UDP", 8675, 30061, 7000)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.7K bytes - Viewed (0) -
pkg/apis/core/v1/defaults.go
if obj.Spec.Type == v1.ServiceTypeNodePort || obj.Spec.Type == v1.ServiceTypeLoadBalancer || obj.Spec.Type == v1.ServiceTypeClusterIP { serviceInternalTrafficPolicyCluster := v1.ServiceInternalTrafficPolicyCluster obj.Spec.InternalTrafficPolicy = &serviceInternalTrafficPolicyCluster } } if obj.Spec.Type == v1.ServiceTypeLoadBalancer { if obj.Spec.AllocateLoadBalancerNodePorts == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:24:15 UTC 2024 - 14.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network_test.go
ObjectMeta: metav1.ObjectMeta{Name: "istio-labeled-gw", Namespace: "arbitrary-ns", Labels: map[string]string{ label.TopologyNetwork.Name: nw, }}, Spec: corev1.ServiceSpec{ Type: corev1.ServiceTypeLoadBalancer, Ports: []corev1.ServicePort{{Port: 15443, Protocol: corev1.ProtocolTCP}}, }, Status: corev1.ServiceStatus{LoadBalancer: corev1.LoadBalancerStatus{Ingress: []corev1.LoadBalancerIngress{{ IP: "2.3.4.6",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 10.7K 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) -
plugin/pkg/admission/resourcequota/admission_test.go
ObjectMeta: metav1.ObjectMeta{Name: "service", Namespace: "test", ResourceVersion: "1"}, Spec: api.ServiceSpec{Type: api.ServiceTypeLoadBalancer}, } newService := &api.Service{ ObjectMeta: metav1.ObjectMeta{Name: "service", Namespace: "test"}, Spec: api.ServiceSpec{Type: api.ServiceTypeLoadBalancer}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K 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)