2018-12-22 16:15:09 +00:00
|
|
|
apiVersion: kubeadm.k8s.io/v1beta1
|
|
|
|
kind: InitConfiguration
|
|
|
|
nodeRegistration:
|
2019-06-29 21:09:20 +00:00
|
|
|
criSocket: {{ cri_socket }}
|
2018-12-22 16:15:09 +00:00
|
|
|
---
|
2018-12-19 13:17:58 +00:00
|
|
|
apiVersion: kubeadm.k8s.io/v1beta1
|
|
|
|
kind: ClusterConfiguration
|
|
|
|
imageRepository: {{ kube_image_repo }}
|
|
|
|
kubernetesVersion: {{ kube_version }}
|
2019-09-26 01:03:06 +00:00
|
|
|
useHyperKubeImage: {{ kubeadm_use_hyperkube_image }}
|
2019-02-13 20:44:12 +00:00
|
|
|
etcd:
|
|
|
|
external:
|
|
|
|
endpoints:
|
|
|
|
{% for endpoint in etcd_access_addresses.split(',') %}
|
|
|
|
- {{ endpoint }}
|
|
|
|
{% endfor %}
|
2019-07-11 06:46:54 +00:00
|
|
|
dns:
|
|
|
|
type: CoreDNS
|
|
|
|
imageRepository: {{ coredns_image_repo | regex_replace('/coredns$','') }}
|
|
|
|
imageTag: {{ coredns_image_tag }}
|