blob: ead41e5542c97865a81cb930ad7a4e3933fd35b3 [file] [log] [blame]
Andrey Shestakov718e3f42018-04-24 12:51:24 +03001classes:
Andrey Shestakovbb543b32018-10-08 18:28:45 +03002- system.linux.system.repo.mcp.apt_mirantis.docker
Andrey Shestakov718e3f42018-04-24 12:51:24 +03003- 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:
Andrey Shestakov718e3f42018-04-24 12:51:24 +03009 kubernetes:
10 pool:
Andrey Shestakov7edd30c2018-10-03 16:27:49 +030011 proxy:
12 daemon_opts:
13 cluster-cidr: ${_param:calico_private_network}/${_param:calico_private_netmask}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030014 kubelet:
15 address: ${_param:single_address}
16 fail_on_swap: ${_param:kubelet_fail_on_swap}
17 network:
18 genie:
19 enabled: true
20 default_plugin: calico
21 image: ${_param:kubernetes_genie_image}
22 flannel:
23 enabled: true
24 calico:
25 enabled: true
26 image: ${_param:kubernetes_calico_image}
27 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
28 cni_image: ${_param:kubernetes_calico_cni_image}
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020029 kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030030 etcd:
31 ssl:
32 enabled: true
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020033 policy:
34 enabled: ${_param:kubernetes_calico_policy_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030035 common:
36 addons:
37 virtlet:
38 enabled: ${_param:kubernetes_virtlet_enabled}
39 namespace: ${_param:kubernetes_addon_namespace}
40 image: ${_param:kubernetes_virtlet_image}
41 criproxy_version: ${_param:kubernetes_criproxy_version}
42 criproxy_source: ${_param:kubernetes_criproxy_checksum}
43 hosts:
44 - ${_param:kubernetes_compute01_hostname}
45 hyperkube:
46 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030047 pause_image: ${_param:kubernetes_pause_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030048 linux:
49 network:
50 resolv:
51 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040052 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040053 - 172.18.176.4
54 - 10.254.0.10
Victor Ryzhenkin6fb825e2018-10-10 16:35:15 +040055 search:
56 - ${_param:cluster_domain}
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