blob: dac84b627d429dbcc19dd6ca18c4f922034ae747 [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
4- system.salt.minion.cert.k8s_client
5- system.salt.minion.cert.etcd_client
Petr Michalecf05e3ea2017-08-21 17:33:16 +02006- cluster.sl-k8s-calico
Ales Komarekc12dd412017-06-27 16:24:42 +02007parameters:
Ales Komarekc12dd412017-06-27 16:24:42 +02008 docker:
9 host:
10 pkgs:
vitalygusev74db2b82018-03-20 19:16:08 +040011 - ${_param:kubernetes_docker_package}
Ales Komarekc12dd412017-06-27 16:24:42 +020012 - python-docker
vitalygusev74db2b82018-03-20 19:16:08 +040013 options:
14 bip: 172.31.255.1/24
15 storage-driver: overlay2
Ales Komarekc12dd412017-06-27 16:24:42 +020016 kubernetes:
17 pool:
vitalygusev74db2b82018-03-20 19:16:08 +040018 kubelet:
19 fail_on_swap: ${_param:kubelet_fail_on_swap}
Ales Komarekc12dd412017-06-27 16:24:42 +020020 network:
ashestakov7acc4c62018-02-27 14:23:05 +000021 calico:
Andrey Shestakov11a0cd22018-03-19 17:24:41 +020022 enabled: true
ashestakov7acc4c62018-02-27 14:23:05 +000023 image: ${_param:kubernetes_calico_image}
24 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
25 cni_image: ${_param:kubernetes_calico_cni_image}
vitalygusev74db2b82018-03-20 19:16:08 +040026 mtu: ${_param:kubernetes_mtu}
ashestakov7acc4c62018-02-27 14:23:05 +000027 etcd:
28 ssl:
29 enabled: true
Ales Komarekc12dd412017-06-27 16:24:42 +020030 common:
vitalygusev74db2b82018-03-20 19:16:08 +040031 addons:
32 virtlet:
33 enabled: ${_param:kubernetes_virtlet_enabled}
34 namespace: kube-system
35 image: ${_param:kubernetes_virtlet_image}
36 criproxy_version: ${_param:kubernetes_criproxy_version}
37 criproxy_source: ${_param:kubernetes_criproxy_checksum}
38 hosts:
39 - ${_param:kubernetes_compute_node01_hostname}
40 - ${_param:kubernetes_compute_node02_hostname}
Ales Komarekc12dd412017-06-27 16:24:42 +020041 hyperkube:
42 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030043 pause_image: ${_param:kubernetes_pause_image}
Ales Komarekc12dd412017-06-27 16:24:42 +020044 linux:
45 network:
46 resolv:
47 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040048 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040049 - 172.18.176.4
50 - 10.254.0.10
Ales Komarekc12dd412017-06-27 16:24:42 +020051 interface:
vitalygusev74db2b82018-03-20 19:16:08 +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
Ales Komarekc12dd412017-06-27 16:24:42 +020060 route:
61 kubernetes_services:
62 address: 10.254.0.0
63 netmask: 255.255.0.0
vitalygusev74db2b82018-03-20 19:16:08 +040064 gateway: ${_param:deploy_address}
65 ens4:
66 enabled: true
67 type: eth
68 proto: static
69 address: ${_param:single_address}
70 netmask: '255.255.255.0'