Merge pull request #3260 from riverzhang/discoverytimeout

Add discovery_timeout to join configuration
This commit is contained in:
k8s-ci-robot 2018-09-07 05:20:19 -07:00 committed by GitHub
commit 9c49e071d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
# discovery_timeout modifies the discovery timeout
discovery_timeout: 5m0s

View file

@ -3,6 +3,7 @@ kind: NodeConfiguration
clusterName: {{ cluster_name }}
discoveryFile: ""
caCertPath: {{ kube_config_dir }}/ssl/ca.crt
discoveryTimeout: {{ discovery_timeout }}
discoveryToken: {{ kubeadm_token }}
tlsBootstrapToken: {{ kubeadm_token }}
token: {{ kubeadm_token }}