Commit f1a56987 authored by Deyuan Deng's avatar Deyuan Deng

Fix minion_cache_ttl and minion_regexp flag change.

parent 290749b1
...@@ -11,7 +11,7 @@ kube-apiserver \- Provides the API for kubernetes orchestration. ...@@ -11,7 +11,7 @@ kube-apiserver \- Provides the API for kubernetes orchestration.
The **kubernetes** API server validates and configures data for 3 types of objects: pods, services, and replicationControllers. Beyond just servicing REST operations, the API Server does two other things as well: 1. Schedules pods to worker nodes. Right now the scheduler is very simple. 2. Synchronize pod information (where they are, what ports they are exposing) with the service configuration. The **kubernetes** API server validates and configures data for 3 types of objects: pods, services, and replicationControllers. Beyond just servicing REST operations, the API Server does two other things as well: 1. Schedules pods to worker nodes. Right now the scheduler is very simple. 2. Synchronize pod information (where they are, what ports they are exposing) with the service configuration.
The the kube-apiserver several options. The the kube-apiserver several options.
# OPTIONS # OPTIONS
**-address**="" **-address**=""
...@@ -53,15 +53,9 @@ The the kube-apiserver several options. ...@@ -53,15 +53,9 @@ The the kube-apiserver several options.
**-logtostderr**= **-logtostderr**=
log to standard error instead of files. Default is false. log to standard error instead of files. Default is false.
**-minion_cache_ttl**=30s
Duration of time to cache minion information. Default 30 seconds.
**-kubelet_port**=10250 **-kubelet_port**=10250
The port at which kubelet will be listening on the minions. Default is 10250. The port at which kubelet will be listening on the minions. Default is 10250.
**-minion_regexp**=""
If non empty, and -cloud_provider is specified, a regular expression for matching minion VMs.
**-port**=8080 **-port**=8080
The port to listen on. Default is 8080. The port to listen on. Default is 8080.
...@@ -82,7 +76,7 @@ The the kube-apiserver several options. ...@@ -82,7 +76,7 @@ The the kube-apiserver several options.
# EXAMPLES # EXAMPLES
``` ```
/usr/bin/kube-apiserver --logtostderr=true --v=0 --etcd_servers=http://127.0.0.1:4001 --address=0.0.0.0 --port=8080 --machines=127.0.0.1 --kubelet_port=10250 --allow_privileged=false /usr/bin/kube-apiserver --logtostderr=true --v=0 --etcd_servers=http://127.0.0.1:4001 --address=0.0.0.0 --port=8080 --kubelet_port=10250 --allow_privileged=false
``` ```
# HISTORY # HISTORY
October 2014, Originally compiled by Scott Collier (scollier at redhat dot com) based October 2014, Originally compiled by Scott Collier (scollier at redhat dot com) based
......
...@@ -29,6 +29,15 @@ The kube-controller-manager has several options. ...@@ -29,6 +29,15 @@ The kube-controller-manager has several options.
**-api_version**="" **-api_version**=""
The API version to use when talking to the server. The API version to use when talking to the server.
**-cloud_config**=""
The path to the cloud provider configuration file. Empty string for no configuration file.
**-cloud_provider**=""
The provider for cloud services. Empty string for no provider.
**-minion_regexp**=""
If non empty, and -cloud_provider is specified, a regular expression for matching minion VMs.
**-insecure_skip_tls_verify**=false **-insecure_skip_tls_verify**=false
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure. If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
......
...@@ -70,18 +70,10 @@ The the kube\-apiserver several options. ...@@ -70,18 +70,10 @@ The the kube\-apiserver several options.
log to standard error instead of files. Default is false. log to standard error instead of files. Default is false.
.PP .PP
\fB\-minion\_cache\_ttl\fP=30s
Duration of time to cache minion information. Default 30 seconds.
.PP
\fB\-kubelet\_port\fP=10250 \fB\-kubelet\_port\fP=10250
The port at which kubelet will be listening on the minions. Default is 10250. The port at which kubelet will be listening on the minions. Default is 10250.
.PP .PP
\fB\-minion\_regexp\fP=""
If non empty, and \-cloud\_provider is specified, a regular expression for matching minion VMs.
.PP
\fB\-port\fP=8080 \fB\-port\fP=8080
The port to listen on. Default is 8080. The port to listen on. Default is 8080.
......
...@@ -37,6 +37,18 @@ The kube\-controller\-manager has several options. ...@@ -37,6 +37,18 @@ The kube\-controller\-manager has several options.
The API version to use when talking to the server. The API version to use when talking to the server.
.PP .PP
\fB\-cloud\_config\fP=""
The path to the cloud provider configuration file. Empty string for no configuration file.
.PP
\fB\-cloud\_provider\fP=""
The provider for cloud services. Empty string for no provider.
.PP
\fB\-minion\_regexp\fP=""
If non empty, and \-cloud\_provider is specified, a regular expression for matching minion VMs.
.PP
\fB\-insecure\_skip\_tls\_verify\fP=false \fB\-insecure\_skip\_tls\_verify\fP=false
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure. If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment