blob: e6e0238f82d55498a981e3acb2363804abfc6391 [file] [log] [blame]
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +02001classes:
Tatyana Leontovichc11c1b52018-01-26 13:58:39 +02002- system.linux.system.repo.mcp.apt_mirantis.docker_legacy
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +02003- system.kubernetes.pool.cluster
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +04004- system.linux.network.hosts
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +02005- system.salt.minion.cert.k8s_client
6- system.salt.minion.cert.etcd_client
Dmitry Kalashnik1085a992017-09-08 16:39:21 +04007- cluster.virtual-mcp11-k8s-calico
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +02008parameters:
Victor Ryzhenkind27d76d2018-05-23 18:10:56 +04009 _param:
10 cluster_local_address: ${_param:deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020011 docker:
12 host:
13 pkgs:
vrovachev0f291422017-06-21 18:30:01 +040014 - ${_param:kubernetes_docker_package}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020015 - python-docker
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040016 options:
17 bip: 172.31.255.1/24
18 storage-driver: overlay2
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020019 kubernetes:
20 pool:
Victor Ryzhenkin03e58402017-12-12 16:46:05 +040021 kubelet:
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040022 address: ${_param:single_address}
Victor Ryzhenkin03e58402017-12-12 16:46:05 +040023 fail_on_swap: ${_param:kubelet_fail_on_swap}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020024 network:
ashestakov7acc4c62018-02-27 14:23:05 +000025 calico:
Andrey Shestakov11a0cd22018-03-19 17:24:41 +020026 enabled: true
ashestakov7acc4c62018-02-27 14:23:05 +000027 image: ${_param:kubernetes_calico_image}
28 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
29 cni_image: ${_param:kubernetes_calico_cni_image}
ashestakov7acc4c62018-02-27 14:23:05 +000030 etcd:
31 ssl:
32 enabled: true
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020033 common:
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040034 addons:
35 virtlet:
36 enabled: ${_param:kubernetes_virtlet_enabled}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040037 namespace: ${_param:kubernetes_addon_namespace}
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040038 image: ${_param:kubernetes_virtlet_image}
Andrey Shestakov1113cac2018-01-22 21:57:06 +020039 criproxy_version: ${_param:kubernetes_criproxy_version}
40 criproxy_source: ${_param:kubernetes_criproxy_checksum}
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040041 hosts:
42 - ${_param:kubernetes_compute_node01_hostname}
43 - ${_param:kubernetes_compute_node02_hostname}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020044 hyperkube:
Tomáš Kukrál31100562017-04-27 15:37:22 +020045 image: ${_param:kubernetes_hyperkube_image}
Tomáš Kukrál1877dbd2017-04-29 23:03:04 +020046 linux:
47 network:
48 resolv:
49 dns:
Victor Ryzhenkind27d76d2018-05-23 18:10:56 +040050 - 172.18.208.44
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040051 - 172.18.176.4
Victor Ryzhenkind27d76d2018-05-23 18:10:56 +040052 - 10.254.0.10
Tomáš Kukrál1877dbd2017-04-29 23:03:04 +020053 interface:
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040054 ens3:
55 enabled: true
56 type: eth
57 proto: static
58 name: ${_param:primary_interface}
59 address: ${_param:deploy_address}
60 netmask: 255.255.255.0
61 gateway: 192.168.10.1
Victor Ryzhenkind27d76d2018-05-23 18:10:56 +040062 post_up_cmds:
63 - ip r rep 10.254.0.0/16 via ${_param:deploy_address}
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020064 ens4:
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040065 enabled: true
66 type: eth
67 proto: static
68 address: ${_param:single_address}
69 netmask: '255.255.255.0'
Victor Ryzhenkind27d76d2018-05-23 18:10:56 +040070 ipflush_onchange: true
71 restart_on_ipflush: true