- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for allocateLoadBalancerNodePorts (0.65 sec)
-
pkg/registry/core/service/strategy.go
if oldSvc.Spec.Type == api.ServiceTypeLoadBalancer && newSvc.Spec.Type != api.ServiceTypeLoadBalancer { if newSvc.Spec.AllocateLoadBalancerNodePorts != nil && oldSvc.Spec.AllocateLoadBalancerNodePorts != nil { if *oldSvc.Spec.AllocateLoadBalancerNodePorts == *newSvc.Spec.AllocateLoadBalancerNodePorts { newSvc.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/registry/core/service/strategy_test.go
} if !reflect.DeepEqual(result.Spec.AllocateLoadBalancerNodePorts, tc.expect.Spec.AllocateLoadBalancerNodePorts) { t.Errorf("failed %q: expected AllocateLoadBalancerNodePorts %v, got %v", tc.name, tc.expect.Spec.AllocateLoadBalancerNodePorts, result.Spec.AllocateLoadBalancerNodePorts) } if !reflect.DeepEqual(result.Spec.LoadBalancerClass, tc.expect.Spec.LoadBalancerClass) {
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/apis/core/v1/defaults.go
obj.Spec.InternalTrafficPolicy = &serviceInternalTrafficPolicyCluster } } if obj.Spec.Type == v1.ServiceTypeLoadBalancer { if obj.Spec.AllocateLoadBalancerNodePorts == nil { obj.Spec.AllocateLoadBalancerNodePorts = pointer.Bool(true) } } if obj.Spec.Type == v1.ServiceTypeLoadBalancer { if utilfeature.DefaultFeatureGate.Enabled(features.LoadBalancerIPMode) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:24:15 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/apis/core/fuzzer/fuzzer.go
ClientIP: &core.ClientIPConfig{ TimeoutSeconds: &timeoutSeconds, }, } case core.ServiceAffinityNone: ss.SessionAffinityConfig = nil } if ss.AllocateLoadBalancerNodePorts == nil { ss.AllocateLoadBalancerNodePorts = utilpointer.Bool(true) } }, func(s *core.NodeStatus, c fuzz.Continue) { c.FuzzNoCustom(s) s.Allocatable = s.Capacity },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage.go
} func needsNodePort(svc *api.Service) bool { 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) -
pkg/registry/core/service/storage/alloc.go
func shouldAllocateNodePorts(service *api.Service) bool { if service.Spec.Type == api.ServiceTypeNodePort { return true } if service.Spec.Type == api.ServiceTypeLoadBalancer { return *service.Spec.AllocateLoadBalancerNodePorts } return false } func collectServiceNodePorts(service *api.Service) []int { servicePorts := []int{} for i := range service.Spec.Ports { servicePort := &service.Spec.Ports[i]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:05 UTC 2023 - 37.3K bytes - Viewed (0)