blob: 6d2a3ccc1388c9b4cd8c6402a6b4d8c5095fd1e8 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
vitalygusev74db2b82018-03-20 19:16:08 +04002- system.linux.system.repo.mcp.apt_mirantis.docker_legacy
Ales Komarekc12dd412017-06-27 16:24:42 +02003- system.kubernetes.pool.cluster
Ildar Svetlovcac905c2018-08-07 18:37:17 +04004- system.linux.network.hosts
Ales Komarekc12dd412017-06-27 16:24:42 +02005- system.salt.minion.cert.k8s_client
6- system.salt.minion.cert.etcd_client
Petr Michalecf05e3ea2017-08-21 17:33:16 +02007- cluster.sl-k8s-calico
Ales Komarekc12dd412017-06-27 16:24:42 +02008parameters:
Ales Komarekc12dd412017-06-27 16:24:42 +02009 docker:
10 host:
11 pkgs:
vitalygusev74db2b82018-03-20 19:16:08 +040012 - ${_param:kubernetes_docker_package}
Ales Komarekc12dd412017-06-27 16:24:42 +020013 - python-docker
vitalygusev74db2b82018-03-20 19:16:08 +040014 options:
15 bip: 172.31.255.1/24
16 storage-driver: overlay2
Ales Komarekc12dd412017-06-27 16:24:42 +020017 kubernetes:
18 pool:
vitalygusev74db2b82018-03-20 19:16:08 +040019 kubelet:
20 fail_on_swap: ${_param:kubelet_fail_on_swap}
Ales Komarekc12dd412017-06-27 16:24:42 +020021 network:
ashestakov7acc4c62018-02-27 14:23:05 +000022 calico:
Andrey Shestakov11a0cd22018-03-19 17:24:41 +020023 enabled: true
ashestakov7acc4c62018-02-27 14:23:05 +000024 image: ${_param:kubernetes_calico_image}
25 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
26 cni_image: ${_param:kubernetes_calico_cni_image}
vitalygusev74db2b82018-03-20 19:16:08 +040027 mtu: ${_param:kubernetes_mtu}
ashestakov7acc4c62018-02-27 14:23:05 +000028 etcd:
29 ssl:
30 enabled: true
Ales Komarekc12dd412017-06-27 16:24:42 +020031 common:
vitalygusev74db2b82018-03-20 19:16:08 +040032 addons:
33 virtlet:
34 enabled: ${_param:kubernetes_virtlet_enabled}
35 namespace: kube-system
36 image: ${_param:kubernetes_virtlet_image}
37 criproxy_version: ${_param:kubernetes_criproxy_version}
38 criproxy_source: ${_param:kubernetes_criproxy_checksum}
39 hosts:
40 - ${_param:kubernetes_compute_node01_hostname}
41 - ${_param:kubernetes_compute_node02_hostname}
Ales Komarekc12dd412017-06-27 16:24:42 +020042 hyperkube:
43 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030044 pause_image: ${_param:kubernetes_pause_image}
Ales Komarekc12dd412017-06-27 16:24:42 +020045 linux:
46 network:
47 resolv:
48 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040049 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040050 - 172.18.176.4
51 - 10.254.0.10
Ales Komarekc12dd412017-06-27 16:24:42 +020052 interface:
vitalygusev74db2b82018-03-20 19:16:08 +040053 ens3:
54 enabled: true
55 type: eth
56 proto: static
57 name: ${_param:primary_interface}
58 address: ${_param:deploy_address}
59 netmask: 255.255.255.0
60 gateway: 192.168.10.1
Ales Komarekc12dd412017-06-27 16:24:42 +020061 route:
62 kubernetes_services:
63 address: 10.254.0.0
64 netmask: 255.255.0.0
vitalygusev74db2b82018-03-20 19:16:08 +040065 gateway: ${_param:deploy_address}
66 ens4:
67 enabled: true
68 type: eth
69 proto: static
70 address: ${_param:single_address}
71 netmask: '255.255.255.0'