2019-04-19 13:01:54 +00:00
|
|
|
apiVersion: kubeadm.k8s.io/v1beta1
|
|
|
|
kind: JoinConfiguration
|
|
|
|
discovery:
|
|
|
|
bootstrapToken:
|
|
|
|
{% if kubeadm_config_api_fqdn is defined %}
|
|
|
|
apiServerEndpoint: {{ kubeadm_config_api_fqdn }}:{{ loadbalancer_apiserver.port | default(kube_apiserver_port) }}
|
|
|
|
{% else %}
|
2019-06-28 07:37:37 +00:00
|
|
|
apiServerEndpoint: {{ kubeadm_discovery_address }}
|
2019-04-19 13:01:54 +00:00
|
|
|
{% endif %}
|
|
|
|
token: {{ kubeadm_token }}
|
|
|
|
unsafeSkipCAVerification: true
|
|
|
|
timeout: {{ discovery_timeout }}
|
|
|
|
tlsBootstrapToken: {{ kubeadm_token }}
|
|
|
|
controlPlane:
|
|
|
|
localAPIEndpoint:
|
|
|
|
advertiseAddress: {{ kube_apiserver_address }}
|
|
|
|
bindPort: {{ kube_apiserver_port }}
|
|
|
|
nodeRegistration:
|
2019-06-24 06:19:56 +00:00
|
|
|
name: {{ kube_override_hostname|default(inventory_hostname) }}
|
2019-06-29 21:09:20 +00:00
|
|
|
criSocket: {{ cri_socket }}
|