kubernetes: k8s.io/kubernetes/cmd/kube-apiserver/app/options Index | Files

package options

import "k8s.io/kubernetes/cmd/kube-apiserver/app/options"

Package options contains flags and options for initializing an apiserver

Index

Package Files

options.go validation.go

Variables

var DefaultServiceNodePortRange = utilnet.PortRange{Base: 30000, Size: 2768}

DefaultServiceNodePortRange is the default port range for NodePort services.

type ServerRunOptions Uses

type ServerRunOptions struct {
    GenericServerRunOptions *genericoptions.ServerRunOptions
    Etcd                    *genericoptions.EtcdOptions
    SecureServing           *genericoptions.SecureServingOptions
    InsecureServing         *kubeoptions.InsecureServingOptions
    Audit                   *genericoptions.AuditLogOptions
    Features                *genericoptions.FeatureOptions
    Admission               *genericoptions.AdmissionOptions
    Authentication          *kubeoptions.BuiltInAuthenticationOptions
    Authorization           *kubeoptions.BuiltInAuthorizationOptions
    CloudProvider           *kubeoptions.CloudProviderOptions
    StorageSerialization    *kubeoptions.StorageSerializationOptions
    APIEnablement           *kubeoptions.APIEnablementOptions

    AllowPrivileged           bool
    EnableLogsHandler         bool
    EventTTL                  time.Duration
    KubeletConfig             kubeletclient.KubeletClientConfig
    KubernetesServiceNodePort int
    MasterCount               int
    MaxConnectionBytesPerSec  int64
    ServiceClusterIPRange     net.IPNet // TODO: make this a list
    ServiceNodePortRange      utilnet.PortRange
    SSHKeyfile                string
    SSHUser                   string

    ProxyClientCertFile string
    ProxyClientKeyFile  string

    EnableAggregatorRouting bool
}

ServerRunOptions runs a kubernetes api server.

func NewServerRunOptions Uses

func NewServerRunOptions() *ServerRunOptions

NewServerRunOptions creates a new ServerRunOptions object with default parameters

func (*ServerRunOptions) AddFlags Uses

func (s *ServerRunOptions) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags for a specific APIServer to the specified FlagSet

func (*ServerRunOptions) Validate Uses

func (options *ServerRunOptions) Validate() []error

Validate checks ServerRunOptions and return a slice of found errors.

Package options imports 13 packages (graph) and is imported by 23 packages. Updated 2017-05-27. Refresh now. Tools for package owners.