blob: 8c706d132697d8b53555fb7ae0fd708156e319b8 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
vrovachev97142a82017-11-08 16:43:03 +04002- system.linux.system.repo.docker_legacy
Ales Komarekc12dd412017-06-27 16:24:42 +02003- system.kubernetes.pool.cluster
Jiri Broulik1cb2ec22017-08-24 10:20:30 +02004- system.linux.network.hosts
Ales Komarekc12dd412017-06-27 16:24:42 +02005- system.salt.minion.cert.k8s_client
6- system.salt.minion.cert.etcd_client
Petr Michalecf05e3ea2017-08-21 17:33:16 +02007- cluster.k8s-ha-calico
Ales Komarekc12dd412017-06-27 16:24:42 +02008parameters:
Ales Komarekc12dd412017-06-27 16:24:42 +02009 docker:
10 host:
11 pkgs:
vrovachev30593852017-09-18 17:32:53 +040012 - ${_param:kubernetes_docker_package}
Ales Komarekc12dd412017-06-27 16:24:42 +020013 - python-docker
Matthew Mosesohn887ba2b2017-08-30 09:09:07 +030014 options:
15 bip: 172.31.255.1/24
vrovachev7632dcb2017-10-10 21:55:54 +040016 storage-driver: overlay2
Ales Komarekc12dd412017-06-27 16:24:42 +020017 kubernetes:
18 pool:
vrovachev30593852017-09-18 17:32:53 +040019 kubelet:
20 address: ${_param:single_address}
Victor Ryzhenkin03e58402017-12-12 16:46:05 +040021 fail_on_swap: ${_param:kubelet_fail_on_swap}
Ales Komarekc12dd412017-06-27 16:24:42 +020022 network:
ashestakov7acc4c62018-02-27 14:23:05 +000023 calico:
Andrey Shestakov11a0cd22018-03-19 17:24:41 +020024 enabled: true
ashestakov7acc4c62018-02-27 14:23:05 +000025 image: ${_param:kubernetes_calico_image}
26 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
27 cni_image: ${_param:kubernetes_calico_cni_image}
28 etcd:
29 ssl:
30 enabled: true
Ales Komarekc12dd412017-06-27 16:24:42 +020031 common:
vrovachev30593852017-09-18 17:32:53 +040032 addons:
33 virtlet:
34 enabled: ${_param:kubernetes_virtlet_enabled}
35 namespace: ${_param:kubernetes_addon_namespace}
36 image: ${_param:kubernetes_virtlet_image}
Andrey Shestakov1113cac2018-01-22 21:57:06 +020037 criproxy_version: ${_param:kubernetes_criproxy_version}
38 criproxy_source: ${_param:kubernetes_criproxy_checksum}
vrovachev30593852017-09-18 17:32:53 +040039 hosts:
vrovachev8afdced2017-10-05 17:00:49 +040040 - ${_param:kubernetes_compute01_hostname}
Ales Komarekc12dd412017-06-27 16:24:42 +020041 hyperkube:
42 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030043 pause_image: ${_param:kubernetes_pause_image}
Ales Komarekc12dd412017-06-27 16:24:42 +020044 linux:
45 network:
46 resolv:
47 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040048 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040049 - 172.18.176.4
50 - 10.254.0.10
Ales Komarekc12dd412017-06-27 16:24:42 +020051 interface:
vrovachev30593852017-09-18 17:32:53 +040052 ens3:
53 enabled: true
54 type: eth
55 proto: static
56 name: ${_param:primary_interface}
57 address: ${_param:deploy_address}
58 netmask: 255.255.255.0
59 gateway: 192.168.10.1
Andrey Shestakov008de1d2018-05-14 12:44:34 +030060 post_up_cmds:
61 - ip r rep 10.254.0.0/16 via ${_param:deploy_address}
Andrey Shestakove89b9c72018-01-23 18:09:04 +020062 ens4:
63 enabled: true
64 type: eth
65 proto: static
66 address: ${_param:single_address}
67 netmask: '255.255.255.0'
Andrey Shestakov008de1d2018-05-14 12:44:34 +030068 ipflush_onchange: true
69 restart_on_ipflush: true