Merge pull request #3260 from riverzhang/discoverytimeout

Add discovery_timeout to join configuration
pull/3266/head
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 }}