blob: 5ac9e18b56990ba8a0a5b074dd96ab7787b383c6 [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}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030046 pause_image: ${_param:kubernetes_pause_image}
Tomáš Kukrál1877dbd2017-04-29 23:03:04 +020047 linux:
48 network:
49 resolv:
50 dns:
Victor Ryzhenkind27d76d2018-05-23 18:10:56 +040051 - 172.18.208.44
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040052 - 172.18.176.4
Victor Ryzhenkind27d76d2018-05-23 18:10:56 +040053 - 10.254.0.10
Tomáš Kukrál1877dbd2017-04-29 23:03:04 +020054 interface:
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040055 ens3:
56 enabled: true
57 type: eth
58 proto: static
59 name: ${_param:primary_interface}
60 address: ${_param:deploy_address}
61 netmask: 255.255.255.0
62 gateway: 192.168.10.1
Victor Ryzhenkind27d76d2018-05-23 18:10:56 +040063 post_up_cmds:
64 - ip r rep 10.254.0.0/16 via ${_param:deploy_address}
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020065 ens4:
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040066 enabled: true
67 type: eth
68 proto: static
69 address: ${_param:single_address}
70 netmask: '255.255.255.0'
Victor Ryzhenkind27d76d2018-05-23 18:10:56 +040071 ipflush_onchange: true
72 restart_on_ipflush: true