blob: 1cd7106a117de498d4e142c3b63f12f5ada0f8ef [file] [log] [blame]
Andrey Shestakov718e3f42018-04-24 12:51:24 +03001classes:
2- system.linux.system.repo.docker_legacy
3- system.kubernetes.pool.cluster
4- system.linux.network.hosts
5- system.salt.minion.cert.k8s_client
6- system.salt.minion.cert.etcd_client
7- cluster.k8s-ha-calico-flannel-virtlet
8parameters:
9 docker:
10 host:
11 pkgs:
12 - ${_param:kubernetes_docker_package}
13 - python-docker
14 options:
15 bip: 172.31.255.1/24
16 storage-driver: overlay2
17 kubernetes:
18 pool:
19 kubelet:
20 address: ${_param:single_address}
21 fail_on_swap: ${_param:kubelet_fail_on_swap}
22 network:
23 genie:
24 enabled: true
25 default_plugin: calico
26 image: ${_param:kubernetes_genie_image}
27 flannel:
28 enabled: true
29 calico:
30 enabled: true
31 image: ${_param:kubernetes_calico_image}
32 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
33 cni_image: ${_param:kubernetes_calico_cni_image}
34 etcd:
35 ssl:
36 enabled: true
37 common:
38 addons:
39 virtlet:
40 enabled: ${_param:kubernetes_virtlet_enabled}
41 namespace: ${_param:kubernetes_addon_namespace}
42 image: ${_param:kubernetes_virtlet_image}
43 criproxy_version: ${_param:kubernetes_criproxy_version}
44 criproxy_source: ${_param:kubernetes_criproxy_checksum}
45 hosts:
46 - ${_param:kubernetes_compute01_hostname}
47 hyperkube:
48 image: ${_param:kubernetes_hyperkube_image}
49 linux:
50 network:
51 resolv:
52 dns:
53 - 10.254.0.10
54 - 172.18.176.4
55 - 172.18.176.7
56 interface:
57 ens3:
58 enabled: true
59 type: eth
60 proto: static
61 name: ${_param:primary_interface}
62 address: ${_param:deploy_address}
63 netmask: 255.255.255.0
64 gateway: 192.168.10.1
65 route:
66 kubernetes_services:
67 address: 10.254.0.0
68 netmask: 255.255.0.0
69 gateway: ${_param:deploy_address}
70 ens4:
71 enabled: true
72 type: eth
73 proto: static
74 address: ${_param:single_address}
75 netmask: '255.255.255.0'