Add discovery_timeout to join configuration
https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1alpha2#JoinConfiguration
This commit is contained in:
parent
a47c9239e8
commit
0f63924ed4
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 }}
|
||||
discoveryFile: ""
|
||||
caCertPath: {{ kube_config_dir }}/ssl/ca.crt
|
||||
discoveryTimeout: {{ discovery_timeout }}
|
||||
discoveryToken: {{ kubeadm_token }}
|
||||
tlsBootstrapToken: {{ kubeadm_token }}
|
||||
token: {{ kubeadm_token }}
|
||||
|
|
Loading…
Reference in a new issue