blob: 3522796eb1d468b17b704a4a086a70364855c4d4 [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}
43 linux:
44 network:
45 resolv:
46 dns:
47 - 10.254.0.10
Martin Polreichd8dc1ed2017-08-16 13:24:26 +000048 - 172.18.176.4
49 - 172.18.176.7
Ales Komarekc12dd412017-06-27 16:24:42 +020050 interface:
vitalygusev74db2b82018-03-20 19:16:08 +040051 ens3:
52 enabled: true
53 type: eth
54 proto: static
55 name: ${_param:primary_interface}
56 address: ${_param:deploy_address}
57 netmask: 255.255.255.0
58 gateway: 192.168.10.1
Ales Komarekc12dd412017-06-27 16:24:42 +020059 route:
60 kubernetes_services:
61 address: 10.254.0.0
62 netmask: 255.255.0.0
vitalygusev74db2b82018-03-20 19:16:08 +040063 gateway: ${_param:deploy_address}
64 ens4:
65 enabled: true
66 type: eth
67 proto: static
68 address: ${_param:single_address}
69 netmask: '255.255.255.0'