blob: f28cff8023c00a4ab567750e67252e1de395791b [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'] %}
Petr Ospalýfe49ee92019-04-20 00:53:01 +02003- address: "{{ hostvars[node].cluster_ip }}"
4 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
12 - etcd
13{% endif %}
14 hostname_override: ""
15 user: "{{ rke_username }}"
16 docker_socket: /var/run/docker.sock
17 ssh_key: ""
18 ssh_key_path: "{{ cluster_config_dir }}/cluster_key"
19 ssh_cert: ""
20 ssh_cert_path: ""
21 labels: {}
22{% endfor %}
23services:
24 etcd:
25 image: ""
26 extra_args: {}
27 extra_binds: []
28 extra_env: []
29 external_urls: []
30 ca_cert: ""
31 cert: ""
32 key: ""
33 path: ""
34 snapshot: null
35 retention: ""
36 creation: ""
37 backup_config: null
38 kube-api:
39 image: ""
40 extra_args: {}
41 extra_binds: []
42 extra_env: []
43 service_cluster_ip_range: 10.43.0.0/16
44 service_node_port_range: ""
45 pod_security_policy: false
46 always_pull_images: false
47 kube-controller:
48 image: ""
49 extra_args: {}
50 extra_binds: []
51 extra_env: []
52 cluster_cidr: 10.42.0.0/16
53 service_cluster_ip_range: 10.43.0.0/16
54 scheduler:
55 image: ""
56 extra_args: {}
57 extra_binds: []
58 extra_env: []
59 kubelet:
60 image: ""
61 extra_args: {}
62 extra_binds: []
63 extra_env: []
64 cluster_domain: cluster.local
65 infra_container_image: ""
66 cluster_dns_server: 10.43.0.10
67 fail_swap_on: false
68 kubeproxy:
69 image: ""
70 extra_args: {}
71 extra_binds: []
72 extra_env: []
73network:
74 plugin: canal
75 options: {}
76authentication:
77 strategy: x509
78 sans: []
79 webhook: null
80addons: ""
Petr Ospalý67acfb52019-04-20 05:25:23 +020081addons_include:
82- "{{ cluster_config_dir }}/kubernetes-dashboard.yml"
83- "{{ cluster_config_dir }}/k8s-dashboard-user.yml"
Petr Ospalýfe49ee92019-04-20 00:53:01 +020084system_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