- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for ServiceTypeLoadBalancer (0.51 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/quota/v1/evaluator/core/services_test.go
testCases := map[string]struct { service *api.Service usage corev1.ResourceList }{ "loadbalancer": { service: &api.Service{ Spec: api.ServiceSpec{ Type: api.ServiceTypeLoadBalancer, }, }, usage: corev1.ResourceList{ corev1.ResourceServicesNodePorts: resource.MustParse("0"), corev1.ResourceServicesLoadBalancers: resource.MustParse("1"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 16 15:48:58 UTC 2021 - 9.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/api/v1/service/util_test.go
}) checkExternalPolicyLocal(false, &v1.Service{ Spec: v1.ServiceSpec{ Type: v1.ServiceTypeLoadBalancer, ExternalTrafficPolicy: v1.ServiceExternalTrafficPolicyCluster, }, }) checkExternalPolicyLocal(true, &v1.Service{ Spec: v1.ServiceSpec{ Type: v1.ServiceTypeLoadBalancer, ExternalTrafficPolicy: v1.ServiceExternalTrafficPolicyLocal, }, }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 8.8K bytes - Viewed (0) -
pkg/api/service/util_test.go
checkRequestsOnlyLocalTraffic(false, &api.Service{ Spec: api.ServiceSpec{ Type: api.ServiceTypeLoadBalancer, ExternalTrafficPolicy: api.ServiceExternalTrafficPolicyCluster, }, }) checkRequestsOnlyLocalTraffic(true, &api.Service{ Spec: api.ServiceSpec{ Type: api.ServiceTypeLoadBalancer, ExternalTrafficPolicy: api.ServiceExternalTrafficPolicyLocal, }, }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/api/service/util.go
return service.Spec.Type == api.ServiceTypeLoadBalancer || service.Spec.Type == api.ServiceTypeNodePort || (service.Spec.Type == api.ServiceTypeClusterIP && len(service.Spec.ExternalIPs) > 0) } // RequestsOnlyLocalTraffic checks if service requests OnlyLocal traffic. func RequestsOnlyLocalTraffic(service *api.Service) bool { if service.Spec.Type != api.ServiceTypeLoadBalancer && service.Spec.Type != api.ServiceTypeNodePort {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 30 15:56:47 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/registry/core/service/strategy.go
} // If a user is switching to a type that doesn't need allocatedLoadBalancerNodePorts AND they did not change // this field, it is safe to drop it. if oldSvc.Spec.Type == api.ServiceTypeLoadBalancer && newSvc.Spec.Type != api.ServiceTypeLoadBalancer { if newSvc.Spec.AllocateLoadBalancerNodePorts != nil && oldSvc.Spec.AllocateLoadBalancerNodePorts != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:36 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/api/v1/service/util.go
} } return ipnets, nil } // ExternallyAccessible checks if service is externally accessible. func ExternallyAccessible(service *v1.Service) bool { return service.Spec.Type == v1.ServiceTypeLoadBalancer || service.Spec.Type == v1.ServiceTypeNodePort || (service.Spec.Type == v1.ServiceTypeClusterIP && len(service.Spec.ExternalIPs) > 0) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 30 15:56:47 UTC 2023 - 3.3K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/services.go
func GetQuotaServiceType(service *corev1.Service) corev1.ServiceType { switch service.Spec.Type { case corev1.ServiceTypeNodePort: return corev1.ServiceTypeNodePort case corev1.ServiceTypeLoadBalancer: return corev1.ServiceTypeLoadBalancer } return corev1.ServiceType("")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 7K 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)