blob: bdb4290fa1363db891458e5edb617d6eec82407e [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
vitalygusev74db2b82018-03-20 19:16:08 +04002- system.linux.system.repo.mcp.apt_mirantis.docker_legacy
Ales Komarekc12dd412017-06-27 16:24:42 +02003- system.kubernetes.pool.cluster
Ildar Svetlovcac905c2018-08-07 18:37:17 +04004- 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.sl-k8s-calico
Ales Komarekc12dd412017-06-27 16:24:42 +02008parameters:
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +02009 _param:
10 cluster_local_address: ${_param:deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020011 docker:
12 host:
13 pkgs:
vitalygusev74db2b82018-03-20 19:16:08 +040014 - ${_param:kubernetes_docker_package}
Ales Komarekc12dd412017-06-27 16:24:42 +020015 - python-docker
vitalygusev74db2b82018-03-20 19:16:08 +040016 options:
17 bip: 172.31.255.1/24
18 storage-driver: overlay2
Ales Komarekc12dd412017-06-27 16:24:42 +020019 kubernetes:
20 pool:
Andrey Shestakov7edd30c2018-10-03 16:27:49 +030021 proxy:
22 daemon_opts:
23 cluster-cidr: ${_param:calico_private_network}/${_param:calico_private_netmask}
vitalygusev74db2b82018-03-20 19:16:08 +040024 kubelet:
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020025 address: ${_param:single_address}
vitalygusev74db2b82018-03-20 19:16:08 +040026 fail_on_swap: ${_param:kubelet_fail_on_swap}
Ales Komarekc12dd412017-06-27 16:24:42 +020027 network:
ashestakov7acc4c62018-02-27 14:23:05 +000028 calico:
Andrey Shestakov11a0cd22018-03-19 17:24:41 +020029 enabled: true
ashestakov7acc4c62018-02-27 14:23:05 +000030 image: ${_param:kubernetes_calico_image}
31 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
32 cni_image: ${_param:kubernetes_calico_cni_image}
Mateusz Matuszkowiak4aeedc72018-09-05 16:07:39 +020033 kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image}
vitalygusev74db2b82018-03-20 19:16:08 +040034 mtu: ${_param:kubernetes_mtu}
ashestakov7acc4c62018-02-27 14:23:05 +000035 etcd:
36 ssl:
37 enabled: true
Mateusz Matuszkowiak4aeedc72018-09-05 16:07:39 +020038 policy:
39 enabled: ${_param:kubernetes_calico_policy_enabled}
Ales Komarekc12dd412017-06-27 16:24:42 +020040 common:
vitalygusev74db2b82018-03-20 19:16:08 +040041 addons:
42 virtlet:
43 enabled: ${_param:kubernetes_virtlet_enabled}
44 namespace: kube-system
45 image: ${_param:kubernetes_virtlet_image}
46 criproxy_version: ${_param:kubernetes_criproxy_version}
47 criproxy_source: ${_param:kubernetes_criproxy_checksum}
48 hosts:
49 - ${_param:kubernetes_compute_node01_hostname}
50 - ${_param:kubernetes_compute_node02_hostname}
Ales Komarekc12dd412017-06-27 16:24:42 +020051 hyperkube:
52 image: ${_param:kubernetes_hyperkube_image}
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030053 pause_image: ${_param:kubernetes_pause_image}
Ales Komarekc12dd412017-06-27 16:24:42 +020054 linux:
55 network:
56 resolv:
57 dns:
Victor Ryzhenkina61b72b2018-05-08 17:58:21 +040058 - 172.18.208.44
Victor Ryzhenkin0d990992018-05-08 22:56:48 +040059 - 172.18.176.4
60 - 10.254.0.10
Ales Komarekc12dd412017-06-27 16:24:42 +020061 interface:
vitalygusev74db2b82018-03-20 19:16:08 +040062 ens3:
63 enabled: true
64 type: eth
65 proto: static
66 name: ${_param:primary_interface}
67 address: ${_param:deploy_address}
68 netmask: 255.255.255.0
69 gateway: 192.168.10.1
Ales Komarekc12dd412017-06-27 16:24:42 +020070 route:
71 kubernetes_services:
72 address: 10.254.0.0
73 netmask: 255.255.0.0
vitalygusev74db2b82018-03-20 19:16:08 +040074 gateway: ${_param:deploy_address}
75 ens4:
76 enabled: true
77 type: eth
78 proto: static
79 address: ${_param:single_address}
80 netmask: '255.255.255.0'