kubernetesk8s.io/kubernetes/pkg/master/server Index | Files

package server

import "k8s.io/kubernetes/pkg/master/server"

Package server does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure. It can be configured and called directly or via the hyperkube framework.

Index

Functions

func NewHyperkubeServer

func NewHyperkubeServer() *hyperkube.Server

NewHyperkubeServer creates a new hyperkube Server object that includes the description and flags.

Types

type APIServer

type APIServer struct {
	Port                       int
	Address                    util.IP
	PublicAddressOverride      util.IP
	ReadOnlyPort               int
	APIRate                    float32
	APIBurst                   int
	SecurePort                 int
	TLSCertFile                string
	TLSPrivateKeyFile          string
	APIPrefix                  string
	StorageVersion             string
	CloudProvider              string
	CloudConfigFile            string
	EventTTL                   time.Duration
	TokenAuthFile              string
	AuthorizationMode          string
	AuthorizationPolicyFile    string
	AdmissionControl           string
	AdmissionControlConfigFile string
	EtcdServerList             util.StringList
	EtcdConfigFile             string
	CorsAllowedOriginList      util.StringList
	AllowPrivileged            bool
	PortalNet                  util.IPNet // TODO: make this a list
	EnableLogsSupport          bool
	MasterServiceNamespace     string
	RuntimeConfig              util.ConfigurationMap
	KubeletConfig              client.KubeletConfig
}

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

func (*APIServer) Run

func (s *APIServer) Run(_ []string) error

Run runs the specified APIServer. This should never exit.

Source Files

plugins.go server.go

Version
v0.10.0
Published
Feb 3, 2015
Platform
js/wasm
Imports
29 packages
Last checked
17 seconds ago

Tools for package owners.