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