blob: 676a1f83b55fbed69e0054a05ed18d1108694643 [file] [log] [blame]
Andrey Shestakov718e3f42018-04-24 12:51:24 +03001classes:
2- system.linux.system.repo.docker_legacy
3- system.kubernetes.pool.cluster
4- system.linux.network.hosts
5- system.salt.minion.cert.k8s_client
6- system.salt.minion.cert.etcd_client
7- cluster.k8s-ha-calico-flannel-virtlet
8parameters:
9 docker:
10 host:
11 pkgs:
12 - ${_param:kubernetes_docker_package}
13 - python-docker
14 options:
15 bip: 172.31.255.1/24
16 storage-driver: overlay2
17 kubernetes:
18 pool:
19 kubelet:
20 address: ${_param:single_address}
21 fail_on_swap: ${_param:kubelet_fail_on_swap}
22 network:
23 genie:
24 enabled: true
25 default_plugin: calico
26 image: ${_param:kubernetes_genie_image}
27 flannel:
28 enabled: true
29 calico:
30 enabled: true
31 image: ${_param:kubernetes_calico_image}
32 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
33 cni_image: ${_param:kubernetes_calico_cni_image}
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020034 kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030035 etcd:
36 ssl:
37 enabled: true
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020038 policy:
39 enabled: ${_param:kubernetes_calico_policy_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030040 common:
41 addons:
42 virtlet:
43 enabled: ${_param:kubernetes_virtlet_enabled}
44 namespace: ${_param:kubernetes_addon_namespace}
45 image: ${_param:kubernetes_virtlet_image}
46 criproxy_version: ${_param:kubernetes_criproxy_version}
47 criproxy_source: ${_param:kubernetes_criproxy_checksum}
48 hosts:
49 - ${_param:kubernetes_compute01_hostname}
50 hyperkube:
51 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030052 pause_image: ${_param:kubernetes_pause_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030053 linux:
54 network:
55 resolv:
56 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040057 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040058 - 172.18.176.4
59 - 10.254.0.10
Andrey Shestakov718e3f42018-04-24 12:51:24 +030060 interface:
61 ens3:
62 enabled: true
63 type: eth
64 proto: static
65 name: ${_param:primary_interface}
66 address: ${_param:deploy_address}
67 netmask: 255.255.255.0
68 gateway: 192.168.10.1
Andrey Shestakov008de1d2018-05-14 12:44:34 +030069 post_up_cmds:
70 - ip r rep 10.254.0.0/16 via ${_param:deploy_address}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030071 ens4:
72 enabled: true
73 type: eth
74 proto: static
75 address: ${_param:single_address}
76 netmask: '255.255.255.0'
Andrey Shestakov008de1d2018-05-14 12:44:34 +030077 ipflush_onchange: true
78 restart_on_ipflush: true