blob: f5209410eabee1beda6fcdd37a4f97360545e8ae [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:
16 etcd:
17 ssl:
18 enabled: true
19 image: ${_param:kubernetes_calico_image}
20 calicoctl:
21 image: ${_param:kubernetes_calicoctl_image}
22 cni:
23 image: ${_param:kubernetes_calico_cni_image}
24 common:
25 addons:
26 virtlet:
27 enabled: ${_param:kubernetes_virtlet_enabled}
28 namespace: ${_param:kubernetes_addon_namespace}
29 image: ${_param:kubernetes_virtlet_image}
30 hosts:
31 - kube01
32 hyperkube:
33 image: ${_param:kubernetes_hyperkube_image}
34 docker:
35 host:
36 pkgs:
37 - ${_param:kubernetes_docker_package}
38 - python-docker
39 options:
40 bip: 172.31.255.1/24
41 storage-driver: overlay2
42 linux:
43 network:
44 resolv:
45 dns:
46 - ${_param:kubernetes_internal_dns_address}
47 - 172.18.176.4
48 - 172.18.176.7
49 interface:
50 ens3:
51 enabled: true
52 type: eth
53 proto: static
54 name: ${_param:primary_interface}
55 address: ${_param:single_address}
56 netmask: 255.255.255.0
57 gateway: 192.168.122.1
58 route:
59 kubernetes_services:
60 address: 10.201.0.0
61 netmask: 255.255.0.0
62 gateway: ${_param:single_address}