blob: 656c113665aa0b009c3785509c2e89d0ed4bbcb3 [file] [log] [blame]
Petr Ospalýfe49ee92019-04-20 00:53:01 +02001nodes:
Michal Zegan89e63142019-05-28 17:16:47 +02002{% for node in groups['kubernetes'] %}
Michal Zegan1bb11f12019-09-16 17:28:38 +02003- address: "{{ hostvars[node].external_ip | default(hostvars[node].cluster_ip) }}"
Petr Ospalýfe49ee92019-04-20 00:53:01 +02004 port: "22"
5 internal_address: "{{ hostvars[node].cluster_ip }}"
6 role:
7{% if node in groups['kubernetes-control-plane'] %}
8 - controlplane
9{% endif %}
Michal Zegan89e63142019-05-28 17:16:47 +020010{% if node in groups['kubernetes-node'] %}
Petr Ospalýfe49ee92019-04-20 00:53:01 +020011 - worker
Michal Zegan2f97acd2019-06-03 14:58:20 +020012{% endif %}
13{% if node in groups['kubernetes-etcd'] %}
Petr Ospalýfe49ee92019-04-20 00:53:01 +020014 - etcd
15{% endif %}
Michal Zegan1bb11f12019-09-16 17:28:38 +020016 hostname_override: "{{ node }}"
Petr Ospalýfe49ee92019-04-20 00:53:01 +020017 user: "{{ rke_username }}"
18 docker_socket: /var/run/docker.sock
19 ssh_key: ""
20 ssh_key_path: "{{ cluster_config_dir }}/cluster_key"
21 ssh_cert: ""
22 ssh_cert_path: ""
23 labels: {}
24{% endfor %}
25services:
26 etcd:
27 image: ""
Petr Ospalý8f834552019-08-22 17:33:07 +020028{% if rke_etcd.enabled_custom_etcd_storage %}
29 extra_args:
30 data-dir: "{{ rke_etcd.storage_mountpoint }}"
31 extra_binds:
32 - "{{ rke_etcd.storage_path }}:{{ rke_etcd.storage_mountpoint }}"
33{% else %}
Petr Ospalýfe49ee92019-04-20 00:53:01 +020034 extra_args: {}
35 extra_binds: []
Petr Ospalý8f834552019-08-22 17:33:07 +020036{% endif %}
Petr Ospalýfe49ee92019-04-20 00:53:01 +020037 extra_env: []
38 external_urls: []
39 ca_cert: ""
40 cert: ""
41 key: ""
42 path: ""
43 snapshot: null
44 retention: ""
45 creation: ""
46 backup_config: null
47 kube-api:
48 image: ""
49 extra_args: {}
50 extra_binds: []
51 extra_env: []
52 service_cluster_ip_range: 10.43.0.0/16
53 service_node_port_range: ""
54 pod_security_policy: false
55 always_pull_images: false
56 kube-controller:
57 image: ""
58 extra_args: {}
59 extra_binds: []
60 extra_env: []
61 cluster_cidr: 10.42.0.0/16
62 service_cluster_ip_range: 10.43.0.0/16
63 scheduler:
64 image: ""
65 extra_args: {}
66 extra_binds: []
67 extra_env: []
68 kubelet:
69 image: ""
70 extra_args: {}
71 extra_binds: []
72 extra_env: []
73 cluster_domain: cluster.local
74 infra_container_image: ""
75 cluster_dns_server: 10.43.0.10
76 fail_swap_on: false
77 kubeproxy:
78 image: ""
79 extra_args: {}
80 extra_binds: []
81 extra_env: []
82network:
83 plugin: canal
84 options: {}
85authentication:
86 strategy: x509
87 sans: []
88 webhook: null
89addons: ""
Petr Ospalý67acfb52019-04-20 05:25:23 +020090addons_include:
91- "{{ cluster_config_dir }}/kubernetes-dashboard.yml"
92- "{{ cluster_config_dir }}/k8s-dashboard-user.yml"
Petr Ospalýfe49ee92019-04-20 00:53:01 +020093system_images:
94 etcd: "{{ rke.etcd }}"
95 alpine: "{{ rke.alpine }}"
96 nginx_proxy: "{{ rke.nginx_proxy }}"
97 cert_downloader: "{{ rke.cert_downloader }}"
98 kubernetes_services_sidecar: "{{ rke.kubernetes_services_sidecar }}"
99 kubedns: "{{ rke.kubedns }}"
100 dnsmasq: "{{ rke.dnsmasq }}"
101 kubedns_sidecar: "{{ rke.kubedns_sidecar }}"
102 kubedns_autoscaler: "{{ rke.kubedns_autoscaler }}"
103 coredns: "{{ rke.coredns }}"
104 coredns_autoscaler: "{{ rke.coredns_autoscaler }}"
105 kubernetes: "{{ rke.kubernetes }}"
106 flannel: "{{ rke.flannel }}"
107 flannel_cni: "{{ rke.flannel_cni }}"
108 calico_node: "{{ rke.calico_node }}"
109 calico_cni: "{{ rke.calico_cni }}"
110 calico_controllers: ""
111 calico_ctl: "{{ rke.calico_ctl }}"
112 canal_node: "{{ rke.canal_node }}"
113 canal_cni: "{{ rke.canal_cni }}"
114 canal_flannel: "{{ rke.canal_flannel }}"
115 weave_node: "{{ rke.weave_node }}"
116 weave_cni: "{{ rke.weave_cni }}"
117 pod_infra_container: "{{ rke.pod_infra_container }}"
118 ingress: "{{ rke.ingress }}"
119 ingress_backend: "{{ rke.ingress_backend }}"
120 metrics_server: "{{ rke.metrics_server }}"
121ssh_key_path: "{{ cluster_config_dir }}/cluster_key"
122ssh_cert_path: ""
123ssh_agent_auth: false
124authorization:
125 mode: none
126 options: {}
127ignore_docker_version: false
128kubernetes_version: ""
129private_registries: []
130ingress:
131 provider: ""
132 options: {}
133 node_selector: {}
134 extra_args: {}
135cluster_name: ""
136cloud_provider:
137 name: ""
138prefix_path: ""
139addon_job_timeout: 0
140bastion_host:
141 address: ""
142 port: ""
143 user: ""
144 ssh_key: ""
145 ssh_key_path: ""
146 ssh_cert: ""
147 ssh_cert_path: ""
148monitoring:
149 provider: ""
150 options: {}
151restore:
152 restore: false
153 snapshot_name: ""
Tomáš Levora39505562019-10-03 13:31:54 +0200154dns: {{ rke_dns }}