Merge pull request #3260 from riverzhang/discoverytimeout
Add discovery_timeout to join configuration
This commit is contained in:
commit
9c49e071d3
2 changed files with 4 additions and 0 deletions
3
roles/kubernetes/kubeadm/defaults/main.yml
Normal file
3
roles/kubernetes/kubeadm/defaults/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
# discovery_timeout modifies the discovery timeout
|
||||||
|
discovery_timeout: 5m0s
|
|
@ -3,6 +3,7 @@ kind: NodeConfiguration
|
||||||
clusterName: {{ cluster_name }}
|
clusterName: {{ cluster_name }}
|
||||||
discoveryFile: ""
|
discoveryFile: ""
|
||||||
caCertPath: {{ kube_config_dir }}/ssl/ca.crt
|
caCertPath: {{ kube_config_dir }}/ssl/ca.crt
|
||||||
|
discoveryTimeout: {{ discovery_timeout }}
|
||||||
discoveryToken: {{ kubeadm_token }}
|
discoveryToken: {{ kubeadm_token }}
|
||||||
tlsBootstrapToken: {{ kubeadm_token }}
|
tlsBootstrapToken: {{ kubeadm_token }}
|
||||||
token: {{ kubeadm_token }}
|
token: {{ kubeadm_token }}
|
||||||
|
|
Loading…
Reference in a new issue