k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
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.
25 lines
682 B
25 lines
682 B
apiVersion: kubeadm.k8s.io/v1beta2
|
|
kind: InitConfiguration
|
|
nodeRegistration:
|
|
criSocket: {{ cri_socket }}
|
|
---
|
|
apiVersion: kubeadm.k8s.io/v1beta2
|
|
kind: ClusterConfiguration
|
|
imageRepository: {{ kube_image_repo }}
|
|
kubernetesVersion: {{ kube_version }}
|
|
etcd:
|
|
{% if etcd_kubeadm_enabled %}
|
|
local:
|
|
imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}"
|
|
imageTag: "{{ etcd_image_tag }}"
|
|
{% else %}
|
|
external:
|
|
endpoints:
|
|
{% for endpoint in etcd_access_addresses.split(',') %}
|
|
- {{ endpoint }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
dns:
|
|
type: CoreDNS
|
|
imageRepository: {{ coredns_image_repo | regex_replace('/coredns$','') }}
|
|
imageTag: {{ coredns_image_tag }}
|