blob: 13b308ded9c0741493307d4502911bffd90986b8 [file] [log] [blame]
Andrey Shestakov06afc9d2017-12-18 15:12:01 +02001classes:
2#- system.linux.system.repo.docker
3- system.linux.system.repo.docker_legacy
4- service.docker.host
5- system.salt.minion.cert.etcd_client
6- system.salt.minion.cert.k8s_client_single
7- system.kubernetes.pool.single
8- cluster.k8s-compact.kubernetes
9parameters:
10 kubernetes:
11 pool:
12 cluster_dns: ${_param:kubernetes_internal_dns_address}
13 kubelet:
14 address: ${_param:single_address}
15 network:
ashestakov7acc4c62018-02-27 14:23:05 +000016 calico:
Andrey Shestakov11a0cd22018-03-19 17:24:41 +020017 enabled: true
ashestakov7acc4c62018-02-27 14:23:05 +000018 image: ${_param:kubernetes_calico_image}
19 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
20 cni_image: ${_param:kubernetes_calico_cni_image}
21 etcd:
22 ssl:
23 enabled: true
Andrey Shestakov06afc9d2017-12-18 15:12:01 +020024 common:
25 addons:
26 virtlet:
27 enabled: ${_param:kubernetes_virtlet_enabled}
28 namespace: ${_param:kubernetes_addon_namespace}
29 image: ${_param:kubernetes_virtlet_image}
Andrey Shestakov1113cac2018-01-22 21:57:06 +020030 criproxy_version: ${_param:kubernetes_criproxy_version}
31 criproxy_source: ${_param:kubernetes_criproxy_checksum}
Andrey Shestakov06afc9d2017-12-18 15:12:01 +020032 hosts:
33 - kube01
34 hyperkube:
35 image: ${_param:kubernetes_hyperkube_image}
36 docker:
37 host:
38 pkgs:
39 - ${_param:kubernetes_docker_package}
40 - python-docker
41 options:
42 bip: 172.31.255.1/24
43 storage-driver: overlay2
44 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 - ${_param:kubernetes_internal_dns_address
Andrey Shestakov06afc9d2017-12-18 15:12:01 +020051 interface:
52 ens3:
53 enabled: true
54 type: eth
55 proto: static
56 name: ${_param:primary_interface}
57 address: ${_param:single_address}
58 netmask: 255.255.255.0
59 gateway: 192.168.122.1
60 route:
61 kubernetes_services:
62 address: 10.201.0.0
63 netmask: 255.255.0.0
64 gateway: ${_param:single_address}