package app
import "k8s.io/kubernetes/cmd/kube-apiserver/app"
Package app 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 ¶
Types ¶
type APIServer ¶
type APIServer struct { InsecureBindAddress util.IP InsecurePort int BindAddress util.IP ReadOnlyPort int SecurePort int ExternalHost string APIRate float32 APIBurst int TLSCertFile string TLSPrivateKeyFile string APIPrefix string StorageVersion string CloudProvider string CloudConfigFile string EventTTL time.Duration ClientCAFile string 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 ClusterName string EnableProfiling bool MaxRequestsInFlight int LongRunningRequestRE string }
APIServer runs a kubernetes api server.
func NewAPIServer ¶
func NewAPIServer() *APIServer
NewAPIServer creates a new APIServer object with default parameters
func (*APIServer) AddFlags ¶
AddFlags adds flags for a specific APIServer to the specified FlagSet
func (*APIServer) Run ¶
Run runs the specified APIServer. This should never exit.
Source Files ¶
plugins.go server.go
- Version
- v0.15.0
- Published
- Apr 13, 2015
- Platform
- windows/amd64
- Imports
- 33 packages
- Last checked
- 12 minutes ago –
Tools for package owners.