blob: 8f4936cd195909352c20596830a206466465a4f9 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
Andrey Shestakovaabffb62018-11-13 17:11:10 +02002- system.linux.system.repo.mcp.apt_mirantis.docker
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 kubernetes:
12 pool:
Andrey Shestakov7edd30c2018-10-03 16:27:49 +030013 proxy:
14 daemon_opts:
15 cluster-cidr: ${_param:calico_private_network}/${_param:calico_private_netmask}
vitalygusev74db2b82018-03-20 19:16:08 +040016 kubelet:
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020017 address: ${_param:single_address}
vitalygusev74db2b82018-03-20 19:16:08 +040018 fail_on_swap: ${_param:kubelet_fail_on_swap}
Ales Komarekc12dd412017-06-27 16:24:42 +020019 network:
ashestakov7acc4c62018-02-27 14:23:05 +000020 calico:
Andrey Shestakov11a0cd22018-03-19 17:24:41 +020021 enabled: true
ashestakov7acc4c62018-02-27 14:23:05 +000022 image: ${_param:kubernetes_calico_image}
23 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
24 cni_image: ${_param:kubernetes_calico_cni_image}
Mateusz Matuszkowiak4aeedc72018-09-05 16:07:39 +020025 kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_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
Mateusz Matuszkowiak4aeedc72018-09-05 16:07:39 +020030 policy:
31 enabled: ${_param:kubernetes_calico_policy_enabled}
Ales Komarekc12dd412017-06-27 16:24:42 +020032 common:
vitalygusev74db2b82018-03-20 19:16:08 +040033 addons:
34 virtlet:
35 enabled: ${_param:kubernetes_virtlet_enabled}
36 namespace: kube-system
37 image: ${_param:kubernetes_virtlet_image}
38 criproxy_version: ${_param:kubernetes_criproxy_version}
39 criproxy_source: ${_param:kubernetes_criproxy_checksum}
40 hosts:
41 - ${_param:kubernetes_compute_node01_hostname}
42 - ${_param:kubernetes_compute_node02_hostname}
Ales Komarekc12dd412017-06-27 16:24:42 +020043 hyperkube:
44 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030045 pause_image: ${_param:kubernetes_pause_image}
Ales Komarekc12dd412017-06-27 16:24:42 +020046 linux:
47 network:
48 resolv:
49 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040050 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040051 - 172.18.176.4
52 - 10.254.0.10
Victor Ryzhenkin6fb825e2018-10-10 16:35:15 +040053 search:
54 - ${_param:cluster_domain}
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'