Remove unused api-rate and api-burst params.

pull/6/head
Avesh Agarwal 2015-09-01 14:32:38 -04:00
parent 9e59ceaa06
commit f0d0e2a089
3 changed files with 0 additions and 10 deletions

View File

@ -68,8 +68,6 @@ type APIServer struct {
AdvertiseAddress net.IP
SecurePort int
ExternalHost string
APIRate float32
APIBurst int
TLSCertFile string
TLSPrivateKeyFile string
CertDirectory string
@ -122,8 +120,6 @@ func NewAPIServer() *APIServer {
InsecureBindAddress: net.ParseIP("127.0.0.1"),
BindAddress: net.ParseIP("0.0.0.0"),
SecurePort: 6443,
APIRate: 10.0,
APIBurst: 200,
APIPrefix: "/api",
ExpAPIPrefix: "/experimental",
EventTTL: 1 * time.Hour,
@ -176,8 +172,6 @@ func (s *APIServer) AddFlags(fs *pflag.FlagSet) {
fs.IntVar(&s.SecurePort, "secure-port", s.SecurePort, ""+
"The port on which to serve HTTPS with authentication and authorization. If 0, "+
"don't serve HTTPS at all.")
fs.Float32Var(&s.APIRate, "api-rate", s.APIRate, "API rate limit as QPS for the read only port")
fs.IntVar(&s.APIBurst, "api-burst", s.APIBurst, "API burst amount for the read only port")
fs.StringVar(&s.TLSCertFile, "tls-cert-file", s.TLSCertFile, ""+
"File containing x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). "+
"If HTTPS serving is enabled, and --tls-cert-file and --tls-private-key-file are not provided, "+

View File

@ -52,9 +52,7 @@ cluster's shared state through which all other components interact.
--admission-control-config-file="": File with admission control configuration.
--advertise-address=<nil>: The IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.
--allow-privileged=false: If true, allow privileged containers.
--api-burst=0: API burst amount for the read only port
--api-prefix="": The prefix for API requests on the server. Default '/api'.
--api-rate=0: API rate limit as QPS for the read only port
--authorization-mode="": Selects how to do authorization on the secure port. One of: AlwaysAllow,AlwaysDeny,ABAC
--authorization-policy-file="": File with authorization policy in csv format, used with --authorization-mode=ABAC, on the secure port.
--basic-auth-file="": If set, the file that will be used to admit requests to the secure port of the API server via http basic authentication.

View File

@ -8,9 +8,7 @@ algorithm-provider
all-namespaces
allocate-node-cidrs
allow-privileged
api-burst
api-prefix
api-rate
api-servers
api-token
api-version