blob: 7cd27893bcdf8dcfe73e93674c375be2db98b83c [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}
34 etcd:
35 ssl:
36 enabled: true
37 common:
38 addons:
39 virtlet:
40 enabled: ${_param:kubernetes_virtlet_enabled}
41 namespace: ${_param:kubernetes_addon_namespace}
42 image: ${_param:kubernetes_virtlet_image}
43 criproxy_version: ${_param:kubernetes_criproxy_version}
44 criproxy_source: ${_param:kubernetes_criproxy_checksum}
45 hosts:
46 - ${_param:kubernetes_compute01_hostname}
47 hyperkube:
48 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030049 pause_image: ${_param:kubernetes_pause_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030050 linux:
51 network:
52 resolv:
53 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040054 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040055 - 172.18.176.4
56 - 10.254.0.10
Andrey Shestakov718e3f42018-04-24 12:51:24 +030057 interface:
58 ens3:
59 enabled: true
60 type: eth
61 proto: static
62 name: ${_param:primary_interface}
63 address: ${_param:deploy_address}
64 netmask: 255.255.255.0
65 gateway: 192.168.10.1
Andrey Shestakov008de1d2018-05-14 12:44:34 +030066 post_up_cmds:
67 - ip r rep 10.254.0.0/16 via ${_param:deploy_address}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030068 ens4:
69 enabled: true
70 type: eth
71 proto: static
72 address: ${_param:single_address}
73 netmask: '255.255.255.0'
Andrey Shestakov008de1d2018-05-14 12:44:34 +030074 ipflush_onchange: true
75 restart_on_ipflush: true