blob: d55a486c47bb8617c85334802abf2539a3b8ed78 [file] [log] [blame]
Petr Ospalýfe49ee92019-04-20 00:53:01 +02001nodes:
2{# Note that we iterate through all nodes in relevant groups.
3We check which groups they belong to exactly later to determine roles. #}
4{% for node in groups['kubernetes'] | union(groups['kubernetes-control-plane']) %}
5- address: "{{ hostvars[node].cluster_ip }}"
6 port: "22"
7 internal_address: "{{ hostvars[node].cluster_ip }}"
8 role:
9{% if node in groups['kubernetes-control-plane'] %}
10 - controlplane
11{% endif %}
12{% if node in groups['kubernetes'] %}
13 - worker
14 - etcd
15{% endif %}
16 hostname_override: ""
17 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: ""
28 extra_args: {}
29 extra_binds: []
30 extra_env: []
31 external_urls: []
32 ca_cert: ""
33 cert: ""
34 key: ""
35 path: ""
36 snapshot: null
37 retention: ""
38 creation: ""
39 backup_config: null
40 kube-api:
41 image: ""
42 extra_args: {}
43 extra_binds: []
44 extra_env: []
45 service_cluster_ip_range: 10.43.0.0/16
46 service_node_port_range: ""
47 pod_security_policy: false
48 always_pull_images: false
49 kube-controller:
50 image: ""
51 extra_args: {}
52 extra_binds: []
53 extra_env: []
54 cluster_cidr: 10.42.0.0/16
55 service_cluster_ip_range: 10.43.0.0/16
56 scheduler:
57 image: ""
58 extra_args: {}
59 extra_binds: []
60 extra_env: []
61 kubelet:
62 image: ""
63 extra_args: {}
64 extra_binds: []
65 extra_env: []
66 cluster_domain: cluster.local
67 infra_container_image: ""
68 cluster_dns_server: 10.43.0.10
69 fail_swap_on: false
70 kubeproxy:
71 image: ""
72 extra_args: {}
73 extra_binds: []
74 extra_env: []
75network:
76 plugin: canal
77 options: {}
78authentication:
79 strategy: x509
80 sans: []
81 webhook: null
82addons: ""
83addons_include: []
84system_images:
85 etcd: "{{ rke.etcd }}"
86 alpine: "{{ rke.alpine }}"
87 nginx_proxy: "{{ rke.nginx_proxy }}"
88 cert_downloader: "{{ rke.cert_downloader }}"
89 kubernetes_services_sidecar: "{{ rke.kubernetes_services_sidecar }}"
90 kubedns: "{{ rke.kubedns }}"
91 dnsmasq: "{{ rke.dnsmasq }}"
92 kubedns_sidecar: "{{ rke.kubedns_sidecar }}"
93 kubedns_autoscaler: "{{ rke.kubedns_autoscaler }}"
94 coredns: "{{ rke.coredns }}"
95 coredns_autoscaler: "{{ rke.coredns_autoscaler }}"
96 kubernetes: "{{ rke.kubernetes }}"
97 flannel: "{{ rke.flannel }}"
98 flannel_cni: "{{ rke.flannel_cni }}"
99 calico_node: "{{ rke.calico_node }}"
100 calico_cni: "{{ rke.calico_cni }}"
101 calico_controllers: ""
102 calico_ctl: "{{ rke.calico_ctl }}"
103 canal_node: "{{ rke.canal_node }}"
104 canal_cni: "{{ rke.canal_cni }}"
105 canal_flannel: "{{ rke.canal_flannel }}"
106 weave_node: "{{ rke.weave_node }}"
107 weave_cni: "{{ rke.weave_cni }}"
108 pod_infra_container: "{{ rke.pod_infra_container }}"
109 ingress: "{{ rke.ingress }}"
110 ingress_backend: "{{ rke.ingress_backend }}"
111 metrics_server: "{{ rke.metrics_server }}"
112ssh_key_path: "{{ cluster_config_dir }}/cluster_key"
113ssh_cert_path: ""
114ssh_agent_auth: false
115authorization:
116 mode: none
117 options: {}
118ignore_docker_version: false
119kubernetes_version: ""
120private_registries: []
121ingress:
122 provider: ""
123 options: {}
124 node_selector: {}
125 extra_args: {}
126cluster_name: ""
127cloud_provider:
128 name: ""
129prefix_path: ""
130addon_job_timeout: 0
131bastion_host:
132 address: ""
133 port: ""
134 user: ""
135 ssh_key: ""
136 ssh_key_path: ""
137 ssh_cert: ""
138 ssh_cert_path: ""
139monitoring:
140 provider: ""
141 options: {}
142restore:
143 restore: false
144 snapshot_name: ""
145dns: null