blob: 5bc5ebafa744e11da64a2c4c3ec96b45db01229b [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:
9 docker:
10 host:
11 pkgs:
vrovachev0f291422017-06-21 18:30:01 +040012 - ${_param:kubernetes_docker_package}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020013 - python-docker
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040014 options:
15 bip: 172.31.255.1/24
16 storage-driver: overlay2
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020017 kubernetes:
18 pool:
Victor Ryzhenkin03e58402017-12-12 16:46:05 +040019 kubelet:
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040020 address: ${_param:single_address}
Victor Ryzhenkin03e58402017-12-12 16:46:05 +040021 fail_on_swap: ${_param:kubelet_fail_on_swap}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020022 network:
ashestakov7acc4c62018-02-27 14:23:05 +000023 calico:
Andrey Shestakov11a0cd22018-03-19 17:24:41 +020024 enabled: true
ashestakov7acc4c62018-02-27 14:23:05 +000025 image: ${_param:kubernetes_calico_image}
26 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
27 cni_image: ${_param:kubernetes_calico_cni_image}
ashestakov7acc4c62018-02-27 14:23:05 +000028 etcd:
29 ssl:
30 enabled: true
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020031 common:
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040032 addons:
33 virtlet:
34 enabled: ${_param:kubernetes_virtlet_enabled}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040035 namespace: ${_param:kubernetes_addon_namespace}
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040036 image: ${_param:kubernetes_virtlet_image}
Andrey Shestakov1113cac2018-01-22 21:57:06 +020037 criproxy_version: ${_param:kubernetes_criproxy_version}
38 criproxy_source: ${_param:kubernetes_criproxy_checksum}
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040039 hosts:
40 - ${_param:kubernetes_compute_node01_hostname}
41 - ${_param:kubernetes_compute_node02_hostname}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020042 hyperkube:
Tomáš Kukrál31100562017-04-27 15:37:22 +020043 image: ${_param:kubernetes_hyperkube_image}
Tomáš Kukrál1877dbd2017-04-29 23:03:04 +020044 linux:
45 network:
46 resolv:
47 dns:
48 - 10.254.0.10
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040049 - 172.18.176.4
50 - 172.18.176.7
Tomáš Kukrál1877dbd2017-04-29 23:03:04 +020051 interface:
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040052 ens3:
53 enabled: true
54 type: eth
55 proto: static
56 name: ${_param:primary_interface}
57 address: ${_param:deploy_address}
58 netmask: 255.255.255.0
59 gateway: 192.168.10.1
Tomáš Kukrál1877dbd2017-04-29 23:03:04 +020060 route:
61 kubernetes_services:
62 address: 10.254.0.0
63 netmask: 255.255.0.0
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040064 gateway: ${_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'