Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for KubernetesServiceNodePort (0.44 sec)

  1. cmd/kube-apiserver/app/options/validation.go

    	var errs []error
    
    	if options.KubernetesServiceNodePort < 0 || options.KubernetesServiceNodePort > 65535 {
    		errs = append(errs, fmt.Errorf("--kubernetes-service-node-port %v must be between 0 and 65535, inclusive. If 0, the Kubernetes master service will be of type ClusterIP", options.KubernetesServiceNodePort))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. cmd/kube-apiserver/app/options/options.go

    	// See #14282 for details on how to test/try this option out.
    	// TODO: remove this comment once this option is tested in CI.
    	fs.IntVar(&s.KubernetesServiceNodePort, "kubernetes-service-node-port", s.KubernetesServiceNodePort, ""+
    		"If non-zero, the Kubernetes master service (which apiserver creates/maintains) will be "+
    		"of type NodePort, using this as the value of the port. If zero, the Kubernetes master "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. cmd/kube-apiserver/app/options/validation_test.go

    			}
    		})
    	}
    }
    
    func makeOptionsWithPort(kubernetesServiceNodePort int, base int, size int) *ServerRunOptions {
    	var portRange = utilnet.PortRange{
    		Base: base,
    		Size: size,
    	}
    	return &ServerRunOptions{
    		Extra: Extra{
    			ServiceNodePortRange:      portRange,
    			KubernetesServiceNodePort: kubernetesServiceNodePort,
    		},
    	}
    }
    
    func TestValidateMaxCIDRRange(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. cmd/kube-apiserver/app/server.go

    			SecondaryServiceIPRange: opts.SecondaryServiceClusterIPRange,
    
    			APIServerServicePort: 443,
    
    			ServiceNodePortRange:      opts.ServiceNodePortRange,
    			KubernetesServiceNodePort: opts.KubernetesServiceNodePort,
    
    			EndpointReconcilerType: reconcilers.Type(opts.EndpointReconcilerType),
    			MasterCount:            opts.MasterCount,
    		},
    	}
    
    	if config.ControlPlane.Generic.EgressSelector != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. pkg/controlplane/controller/kubernetesservice/controller.go

    	// ServiceIP indicates where the kubernetes service will live.  It may not be nil.
    	ServiceIP                 net.IP
    	ServicePort               int
    	PublicServicePort         int
    	KubernetesServiceNodePort int
    }
    
    // New returns a controller for watching the kubernetes service endpoints.
    func New(config Config, client kubernetes.Interface, serviceInformer v1informers.ServiceInformer) *Controller {
    	return &Controller{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  6. pkg/controlplane/instance.go

    		ServiceIP:                 c.Extra.APIServerServiceIP,
    		ServicePort:               c.Extra.APIServerServicePort,
    		PublicServicePort:         publicServicePort,
    		KubernetesServiceNodePort: c.Extra.KubernetesServiceNodePort,
    	}, client, c.ControlPlane.Extra.VersionedInformers.Core().V1().Services())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top