Documentation ¶
Overview ¶
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 ¶
Constants ¶
View Source
const ( // Maximum duration before timing out read/write requests // Set to a value larger than the timeouts in each watch server. ReadWriteTimeout = time.Minute * 60 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct { InsecureBindAddress util.IP InsecurePort int BindAddress util.IP AdvertiseAddress util.IP SecurePort int ExternalHost string APIRate float32 APIBurst int TLSCertFile string TLSPrivateKeyFile string CertDirectory string APIPrefix string StorageVersion string CloudProvider string CloudConfigFile string EventTTL time.Duration BasicAuthFile string ClientCAFile string TokenAuthFile string ServiceAccountKeyFile string ServiceAccountLookup bool AuthorizationMode string AuthorizationPolicyFile string AdmissionControl string AdmissionControlConfigFile string EtcdServerList util.StringList EtcdConfigFile string EtcdPathPrefix string OldEtcdPathPrefix string CorsAllowedOriginList util.StringList AllowPrivileged bool ServiceClusterIPRange util.IPNet // TODO: make this a list ServiceNodePortRange util.PortRange EnableLogsSupport bool MasterServiceNamespace string RuntimeConfig util.ConfigurationMap KubeletConfig client.KubeletConfig ClusterName string EnableProfiling bool MaxRequestsInFlight int MinRequestTimeout int LongRunningRequestRE string SSHUser string SSHKeyfile string }
APIServer runs a kubernetes api server.
func NewAPIServer ¶
func NewAPIServer() *APIServer
NewAPIServer creates a new APIServer object with default parameters
Click to show internal directories.
Click to hide internal directories.