blob: cb40b308ce9f792d87d6e4447c7c4ec6803c37e0 [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_legacy
3- system.linux.system.repo.mcp.apt_mirantis.docker
Andrey Shestakov718e3f42018-04-24 12:51:24 +03004- system.kubernetes.pool.cluster
5- system.linux.network.hosts
6- system.salt.minion.cert.k8s_client
7- system.salt.minion.cert.etcd_client
8- cluster.k8s-ha-calico-flannel-virtlet
9parameters:
10 docker:
11 host:
12 pkgs:
13 - ${_param:kubernetes_docker_package}
14 - python-docker
15 options:
16 bip: 172.31.255.1/24
17 storage-driver: overlay2
18 kubernetes:
19 pool:
Andrey Shestakov7edd30c2018-10-03 16:27:49 +030020 proxy:
21 daemon_opts:
22 cluster-cidr: ${_param:calico_private_network}/${_param:calico_private_netmask}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030023 kubelet:
24 address: ${_param:single_address}
25 fail_on_swap: ${_param:kubelet_fail_on_swap}
26 network:
27 genie:
28 enabled: true
29 default_plugin: calico
30 image: ${_param:kubernetes_genie_image}
31 flannel:
32 enabled: true
33 calico:
34 enabled: true
35 image: ${_param:kubernetes_calico_image}
36 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
37 cni_image: ${_param:kubernetes_calico_cni_image}
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020038 kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030039 etcd:
40 ssl:
41 enabled: true
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020042 policy:
43 enabled: ${_param:kubernetes_calico_policy_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030044 common:
45 addons:
46 virtlet:
47 enabled: ${_param:kubernetes_virtlet_enabled}
48 namespace: ${_param:kubernetes_addon_namespace}
49 image: ${_param:kubernetes_virtlet_image}
50 criproxy_version: ${_param:kubernetes_criproxy_version}
51 criproxy_source: ${_param:kubernetes_criproxy_checksum}
52 hosts:
53 - ${_param:kubernetes_compute01_hostname}
54 hyperkube:
55 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030056 pause_image: ${_param:kubernetes_pause_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030057 linux:
58 network:
59 resolv:
60 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040061 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040062 - 172.18.176.4
63 - 10.254.0.10
Victor Ryzhenkin6fb825e2018-10-10 16:35:15 +040064 search:
65 - ${_param:cluster_domain}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030066 interface:
67 ens3:
68 enabled: true
69 type: eth
70 proto: static
71 name: ${_param:primary_interface}
72 address: ${_param:deploy_address}
73 netmask: 255.255.255.0
74 gateway: 192.168.10.1
Andrey Shestakov008de1d2018-05-14 12:44:34 +030075 post_up_cmds:
76 - ip r rep 10.254.0.0/16 via ${_param:deploy_address}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030077 ens4:
78 enabled: true
79 type: eth
80 proto: static
81 address: ${_param:single_address}
82 netmask: '255.255.255.0'
Andrey Shestakov008de1d2018-05-14 12:44:34 +030083 ipflush_onchange: true
84 restart_on_ipflush: true