blob: e9cd961a6b6c0728c28718de95886d5af8a38c2f [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:
Andrey Shestakov7edd30c2018-10-03 16:27:49 +030019 proxy:
20 daemon_opts:
21 cluster-cidr: ${_param:calico_private_network}/${_param:calico_private_netmask}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030022 kubelet:
23 address: ${_param:single_address}
24 fail_on_swap: ${_param:kubelet_fail_on_swap}
25 network:
26 genie:
27 enabled: true
28 default_plugin: calico
29 image: ${_param:kubernetes_genie_image}
30 flannel:
31 enabled: true
32 calico:
33 enabled: true
34 image: ${_param:kubernetes_calico_image}
35 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
36 cni_image: ${_param:kubernetes_calico_cni_image}
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020037 kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030038 etcd:
39 ssl:
40 enabled: true
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020041 policy:
42 enabled: ${_param:kubernetes_calico_policy_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030043 common:
44 addons:
45 virtlet:
46 enabled: ${_param:kubernetes_virtlet_enabled}
47 namespace: ${_param:kubernetes_addon_namespace}
48 image: ${_param:kubernetes_virtlet_image}
49 criproxy_version: ${_param:kubernetes_criproxy_version}
50 criproxy_source: ${_param:kubernetes_criproxy_checksum}
51 hosts:
52 - ${_param:kubernetes_compute01_hostname}
53 hyperkube:
54 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030055 pause_image: ${_param:kubernetes_pause_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030056 linux:
57 network:
58 resolv:
59 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040060 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040061 - 172.18.176.4
62 - 10.254.0.10
Andrey Shestakov718e3f42018-04-24 12:51:24 +030063 interface:
64 ens3:
65 enabled: true
66 type: eth
67 proto: static
68 name: ${_param:primary_interface}
69 address: ${_param:deploy_address}
70 netmask: 255.255.255.0
71 gateway: 192.168.10.1
Andrey Shestakov008de1d2018-05-14 12:44:34 +030072 post_up_cmds:
73 - ip r rep 10.254.0.0/16 via ${_param:deploy_address}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030074 ens4:
75 enabled: true
76 type: eth
77 proto: static
78 address: ${_param:single_address}
79 netmask: '255.255.255.0'
Andrey Shestakov008de1d2018-05-14 12:44:34 +030080 ipflush_onchange: true
81 restart_on_ipflush: true