blob: ca05c62626bcab250306317e8741cca583cef5ac [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}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030036 pause_image: ${_param:kubernetes_pause_image}
Andrey Shestakov06afc9d2017-12-18 15:12:01 +020037 docker:
38 host:
39 pkgs:
40 - ${_param:kubernetes_docker_package}
41 - python-docker
42 options:
43 bip: 172.31.255.1/24
44 storage-driver: overlay2
45 linux:
46 network:
47 resolv:
48 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040049 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040050 - 172.18.176.4
Andrey Shestakov008de1d2018-05-14 12:44:34 +030051 - ${_param:kubernetes_internal_dns_address}
Andrey Shestakov06afc9d2017-12-18 15:12:01 +020052 interface:
53 ens3:
54 enabled: true
55 type: eth
56 proto: static
57 name: ${_param:primary_interface}
58 address: ${_param:single_address}
59 netmask: 255.255.255.0
60 gateway: 192.168.122.1
Andrey Shestakov008de1d2018-05-14 12:44:34 +030061 post_up_cmds:
62 - ip r rep 10.254.0.0/16 via ${_param:deploy_address}