kubernetesk8s.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

Types

type APIServer

type APIServer struct {
	*genericoptions.ServerRunOptions
	AllowPrivileged             bool
	EventTTL                    time.Duration
	KubeletConfig               kubeletclient.KubeletClientConfig
	MaxConnectionBytesPerSec    int64
	SSHKeyfile                  string
	SSHUser                     string
	ServiceAccountKeyFile       string
	ServiceAccountLookup        bool
	WebhookTokenAuthnConfigFile string
	WebhookTokenAuthnCacheTTL   time.Duration
}

APIServer runs a kubernetes api server.

func NewAPIServer

func NewAPIServer() *APIServer

NewAPIServer creates a new APIServer object with default parameters

func (*APIServer) AddFlags

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

AddFlags adds flags for a specific APIServer to the specified FlagSet

Source Files

options.go

Version
v1.4.3-beta.0
Published
Oct 15, 2016
Platform
js/wasm
Imports
7 packages
Last checked
1 hour ago

Tools for package owners.