blob: 81d740b296f60e64fa583a5296598fdd1118ea05 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
vrovachev97142a82017-11-08 16:43:03 +04002- system.linux.system.repo.docker_legacy
Ales Komarekc12dd412017-06-27 16:24:42 +02003- system.kubernetes.pool.cluster
Jiri Broulik1cb2ec22017-08-24 10:20:30 +02004- 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.k8s-ha-calico
Ales Komarekc12dd412017-06-27 16:24:42 +02008parameters:
Ales Komarekc12dd412017-06-27 16:24:42 +02009 docker:
10 host:
11 pkgs:
vrovachev30593852017-09-18 17:32:53 +040012 - ${_param:kubernetes_docker_package}
Ales Komarekc12dd412017-06-27 16:24:42 +020013 - python-docker
Matthew Mosesohn887ba2b2017-08-30 09:09:07 +030014 options:
15 bip: 172.31.255.1/24
vrovachev7632dcb2017-10-10 21:55:54 +040016 storage-driver: overlay2
Ales Komarekc12dd412017-06-27 16:24:42 +020017 kubernetes:
18 pool:
vrovachev30593852017-09-18 17:32:53 +040019 kubelet:
20 address: ${_param:single_address}
Victor Ryzhenkin03e58402017-12-12 16:46:05 +040021 fail_on_swap: ${_param:kubelet_fail_on_swap}
Ales Komarekc12dd412017-06-27 16:24:42 +020022 network:
23 etcd:
24 ssl:
25 enabled: true
26 image: ${_param:kubernetes_calico_image}
27 calicoctl:
28 image: ${_param:kubernetes_calicoctl_image}
29 cni:
30 image: ${_param:kubernetes_calico_cni_image}
31 common:
vrovachev30593852017-09-18 17:32:53 +040032 addons:
33 virtlet:
34 enabled: ${_param:kubernetes_virtlet_enabled}
35 namespace: ${_param:kubernetes_addon_namespace}
36 image: ${_param:kubernetes_virtlet_image}
Andrey Shestakov1113cac2018-01-22 21:57:06 +020037 criproxy_version: ${_param:kubernetes_criproxy_version}
38 criproxy_source: ${_param:kubernetes_criproxy_checksum}
vrovachev30593852017-09-18 17:32:53 +040039 hosts:
vrovachev8afdced2017-10-05 17:00:49 +040040 - ${_param:kubernetes_compute01_hostname}
Ales Komarekc12dd412017-06-27 16:24:42 +020041 hyperkube:
42 image: ${_param:kubernetes_hyperkube_image}
43 linux:
44 network:
45 resolv:
46 dns:
47 - 10.254.0.10
48 - 172.18.176.4
49 - 172.18.176.7
50 interface:
vrovachev30593852017-09-18 17:32:53 +040051 ens3:
52 enabled: true
53 type: eth
54 proto: static
55 name: ${_param:primary_interface}
56 address: ${_param:deploy_address}
57 netmask: 255.255.255.0
58 gateway: 192.168.10.1
Ales Komarekc12dd412017-06-27 16:24:42 +020059 route:
60 kubernetes_services:
61 address: 10.254.0.0
62 netmask: 255.255.0.0
Andrey Shestakov1113cac2018-01-22 21:57:06 +020063 gateway: ${_param:deploy_address}