blob: 74566a8e2ff1198681654411edd1d0600f638671 [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:
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +02009 _param:
10 cluster_local_address: ${_param:deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020011 docker:
12 host:
13 pkgs:
vitalygusev74db2b82018-03-20 19:16:08 +040014 - ${_param:kubernetes_docker_package}
Ales Komarekc12dd412017-06-27 16:24:42 +020015 - python-docker
vitalygusev74db2b82018-03-20 19:16:08 +040016 options:
17 bip: 172.31.255.1/24
18 storage-driver: overlay2
Ales Komarekc12dd412017-06-27 16:24:42 +020019 kubernetes:
20 pool:
vitalygusev74db2b82018-03-20 19:16:08 +040021 kubelet:
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020022 address: ${_param:single_address}
vitalygusev74db2b82018-03-20 19:16:08 +040023 fail_on_swap: ${_param:kubelet_fail_on_swap}
Ales Komarekc12dd412017-06-27 16:24:42 +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}
vitalygusev74db2b82018-03-20 19:16:08 +040030 mtu: ${_param:kubernetes_mtu}
ashestakov7acc4c62018-02-27 14:23:05 +000031 etcd:
32 ssl:
33 enabled: true
Ales Komarekc12dd412017-06-27 16:24:42 +020034 common:
vitalygusev74db2b82018-03-20 19:16:08 +040035 addons:
36 virtlet:
37 enabled: ${_param:kubernetes_virtlet_enabled}
38 namespace: kube-system
39 image: ${_param:kubernetes_virtlet_image}
40 criproxy_version: ${_param:kubernetes_criproxy_version}
41 criproxy_source: ${_param:kubernetes_criproxy_checksum}
42 hosts:
43 - ${_param:kubernetes_compute_node01_hostname}
44 - ${_param:kubernetes_compute_node02_hostname}
Ales Komarekc12dd412017-06-27 16:24:42 +020045 hyperkube:
46 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030047 pause_image: ${_param:kubernetes_pause_image}
Ales Komarekc12dd412017-06-27 16:24:42 +020048 linux:
49 network:
50 resolv:
51 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040052 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040053 - 172.18.176.4
54 - 10.254.0.10
Ales Komarekc12dd412017-06-27 16:24:42 +020055 interface:
vitalygusev74db2b82018-03-20 19:16:08 +040056 ens3:
57 enabled: true
58 type: eth
59 proto: static
60 name: ${_param:primary_interface}
61 address: ${_param:deploy_address}
62 netmask: 255.255.255.0
63 gateway: 192.168.10.1
Ales Komarekc12dd412017-06-27 16:24:42 +020064 route:
65 kubernetes_services:
66 address: 10.254.0.0
67 netmask: 255.255.0.0
vitalygusev74db2b82018-03-20 19:16:08 +040068 gateway: ${_param:deploy_address}
69 ens4:
70 enabled: true
71 type: eth
72 proto: static
73 address: ${_param:single_address}
74 netmask: '255.255.255.0'