@@ -220,10 +222,13 @@ func (s *APIServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -220,10 +222,13 @@ func (s *APIServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.AuthorizationConfig.WebhookConfigFile,"authorization-webhook-config-file",s.AuthorizationConfig.WebhookConfigFile,"File with webhook configuration in kubeconfig format, used with --authorization-mode=Webhook. The API server will query the remote service to determine access on the API server's secure port.")
fs.StringVar(&s.AuthorizationConfig.WebhookConfigFile,"authorization-webhook-config-file",s.AuthorizationConfig.WebhookConfigFile,"File with webhook configuration in kubeconfig format, used with --authorization-mode=Webhook. The API server will query the remote service to determine access on the API server's secure port.")
fs.StringVar(&s.AdmissionControl,"admission-control",s.AdmissionControl,"Ordered list of plug-ins to do admission control of resources into cluster. Comma-delimited list of: "+strings.Join(admission.GetPlugins(),", "))
fs.StringVar(&s.AdmissionControl,"admission-control",s.AdmissionControl,"Ordered list of plug-ins to do admission control of resources into cluster. Comma-delimited list of: "+strings.Join(admission.GetPlugins(),", "))
fs.StringVar(&s.AdmissionControlConfigFile,"admission-control-config-file",s.AdmissionControlConfigFile,"File with admission control configuration.")
fs.StringVar(&s.AdmissionControlConfigFile,"admission-control-config-file",s.AdmissionControlConfigFile,"File with admission control configuration.")
fs.StringSliceVar(&s.EtcdServerList,"etcd-servers",s.EtcdServerList,"List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd-config")
fs.StringSliceVar(&s.EtcdConfig.ServerList,"etcd-servers",s.EtcdConfig.ServerList,"List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd-config")
fs.StringSliceVar(&s.EtcdServersOverrides,"etcd-servers-overrides",s.EtcdServersOverrides,"Per-resource etcd servers overrides, comma separated. The individual override format: group/resource#servers, where servers are http://ip:port, semicolon separated.")
fs.StringSliceVar(&s.EtcdServersOverrides,"etcd-servers-overrides",s.EtcdServersOverrides,"Per-resource etcd servers overrides, comma separated. The individual override format: group/resource#servers, where servers are http://ip:port, semicolon separated.")
fs.StringVar(&s.EtcdPathPrefix,"etcd-prefix",s.EtcdPathPrefix,"The prefix for all resource paths in etcd.")
fs.StringVar(&s.EtcdConfig.Prefix,"etcd-prefix",s.EtcdConfig.Prefix,"The prefix for all resource paths in etcd.")
fs.BoolVar(&s.EtcdQuorumRead,"etcd-quorum-read",s.EtcdQuorumRead,"If true, enable quorum read")
fs.StringVar(&s.EtcdConfig.KeyFile,"etcd-keyfile",s.EtcdConfig.KeyFile,"SSL key file used to secure etcd communication")
fs.StringVar(&s.EtcdConfig.CertFile,"etcd-certfile",s.EtcdConfig.CertFile,"SSL certification file used to secure etcd communication")
fs.StringVar(&s.EtcdConfig.CAFile,"etcd-cafile",s.EtcdConfig.CAFile,"SSL Certificate Authority file used to secure etcd communication")
fs.BoolVar(&s.EtcdConfig.Quorum,"etcd-quorum-read",s.EtcdConfig.Quorum,"If true, enable quorum read")
fs.StringSliceVar(&s.CorsAllowedOriginList,"cors-allowed-origins",s.CorsAllowedOriginList,"List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.")
fs.StringSliceVar(&s.CorsAllowedOriginList,"cors-allowed-origins",s.CorsAllowedOriginList,"List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.")
fs.IPNetVar(&s.ServiceClusterIPRange,"service-cluster-ip-range",s.ServiceClusterIPRange,"A CIDR notation IP range from which to assign service cluster IPs. This must not overlap with any IP ranges assigned to nodes for pods.")
fs.IPNetVar(&s.ServiceClusterIPRange,"service-cluster-ip-range",s.ServiceClusterIPRange,"A CIDR notation IP range from which to assign service cluster IPs. This must not overlap with any IP ranges assigned to nodes for pods.")
--cloud-provider="": The provider for cloud services. Empty string for no provider.
--cloud-provider="": The provider for cloud services. Empty string for no provider.
--cors-allowed-origins=[]: List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.
--cors-allowed-origins=[]: List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.
--delete-collection-workers=1: Number of workers spawned for DeleteCollection call. These are used to speed up namespace cleanup.
--delete-collection-workers=1: Number of workers spawned for DeleteCollection call. These are used to speed up namespace cleanup.
--etcd-cafile="": SSL Certificate Authority file used to secure etcd communication
--etcd-certfile="": SSL certification file used to secure etcd communication
--etcd-keyfile="": SSL key file used to secure etcd communication
--etcd-prefix="/registry": The prefix for all resource paths in etcd.
--etcd-prefix="/registry": The prefix for all resource paths in etcd.
--etcd-quorum-read[=false]: If true, enable quorum read
--etcd-quorum-read[=false]: If true, enable quorum read
--etcd-servers=[]: List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd-config
--etcd-servers=[]: List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd-config
...
@@ -112,7 +115,7 @@ kube-apiserver
...
@@ -112,7 +115,7 @@ kube-apiserver
--watch-cache-sizes=[]: List of watch cache sizes for every resource (pods, nodes, etc.), comma separated. The individual override format: resource#size, where size is a number. It takes effect when watch-cache is enabled.
--watch-cache-sizes=[]: List of watch cache sizes for every resource (pods, nodes, etc.), comma separated. The individual override format: resource#size, where size is a number. It takes effect when watch-cache is enabled.
```
```
###### Auto generated by spf13/cobra on 24-Feb-2016
###### Auto generated by spf13/cobra on 6-Mar-2016