You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
647 B

  1. apiVersion: kubeadm.k8s.io/v1alpha3
  2. kind: JoinConfiguration
  3. clusterName: {{ cluster_name }}
  4. discoveryFile: ""
  5. caCertPath: {{ kube_cert_dir }}/ca.crt
  6. discoveryTimeout: {{ discovery_timeout }}
  7. discoveryToken: {{ kubeadm_token }}
  8. tlsBootstrapToken: {{ kubeadm_token }}
  9. token: {{ kubeadm_token }}
  10. discoveryTokenAPIServers:
  11. {% if kubeadm_config_api_fqdn is defined %}
  12. - {{ kubeadm_config_api_fqdn }}:{{ loadbalancer_apiserver.port | default(kube_apiserver_port) }}
  13. {% else %}
  14. - {{ kubeadm_discovery_address }}
  15. {% endif %}
  16. discoveryTokenUnsafeSkipCAVerification: true
  17. nodeRegistration:
  18. name: {{ kube_override_hostname }}
  19. criSocket: {{ cri_socket }}