Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for allocateLoadBalancerNodePorts (0.39 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Service.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Service.yaml

        blockOwnerDeletion: true
        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      allocateLoadBalancerNodePorts: true
      clusterIP: clusterIPValue
      clusterIPs:
      - clusterIPsValue
      externalIPs:
      - externalIPsValue
      externalName: externalNameValue
      externalTrafficPolicy: externalTrafficPolicyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. 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)
  5. manifests/charts/gateway/values.yaml

        loadBalancerSourceRanges: []
        externalTrafficPolicy: ""
        externalIPs: []
        ipFamilyPolicy: ""
        ipFamilies: []
        ## Whether to automatically allocate NodePorts (only for LoadBalancers).
        # allocateLoadBalancerNodePorts: false
    
      resources:
        requests:
          cpu: 100m
          memory: 128Mi
        limits:
          cpu: 2000m
          memory: 1024Mi
    
      autoscaling:
        enabled: true
        minReplicas: 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 16:51:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. 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)
  7. pkg/apis/core/validation/validation_test.go

    			s.Spec.Type = core.ServiceTypeLoadBalancer
    			s.Spec.ExternalTrafficPolicy = core.ServiceExternalTrafficPolicyCluster
    			s.Spec.AllocateLoadBalancerNodePorts = utilpointer.Bool(true)
    		},
    		numErrs: 0,
    	}, {
    		name: "valid type - loadbalancer with allocateLoadBalancerNodePorts=false",
    		tweakSvc: func(s *core.Service) {
    			s.Spec.Type = core.ServiceTypeLoadBalancer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  8. 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)
  9. pkg/apis/core/zz_generated.deepcopy.go

    		in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.AllocateLoadBalancerNodePorts != nil {
    		in, out := &in.AllocateLoadBalancerNodePorts, &out.AllocateLoadBalancerNodePorts
    		*out = new(bool)
    		**out = **in
    	}
    	if in.LoadBalancerClass != nil {
    		in, out := &in.LoadBalancerClass, &out.LoadBalancerClass
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    	}
    	if in.IPFamilyPolicy != nil {
    		in, out := &in.IPFamilyPolicy, &out.IPFamilyPolicy
    		*out = new(IPFamilyPolicy)
    		**out = **in
    	}
    	if in.AllocateLoadBalancerNodePorts != nil {
    		in, out := &in.AllocateLoadBalancerNodePorts, &out.AllocateLoadBalancerNodePorts
    		*out = new(bool)
    		**out = **in
    	}
    	if in.LoadBalancerClass != nil {
    		in, out := &in.LoadBalancerClass, &out.LoadBalancerClass
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
Back to top