Make periodic sync nodes from cloud provider optional.

--sync_nodes=false gives user flexibility to add/remove nodes in the
cluster using REST api/kubectl cli and at the same time can use
cloud provider for other resources like persistent disks, etc.
This commit is contained in:
Ravi Sankar Penta
2015-01-14 17:05:48 -08:00
parent a84e94574f
commit 3a5ef05f64
7 changed files with 30 additions and 13 deletions

View File

@@ -36,7 +36,7 @@ The kube-controller-manager has several options.
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.
If non empty, and --cloud_provider is specified, a regular expression for matching minion VMs.
**--insecure_skip_tls_verify**=false
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
@@ -56,6 +56,9 @@ The kube-controller-manager has several options.
**--machines**=[]
List of machines to schedule onto, comma separated.
**--sync_nodes**=true
If true, and --cloud_provider is specified, sync nodes from the cloud provider. Default true.
**--master**=""
The address of the Kubernetes API server.