blob: e2f9c30a5343436622d391cdf1786fa2de0291ad [file] [log] [blame]
Andrey Shestakov718e3f42018-04-24 12:51:24 +03001classes:
Victor Ryzhenkinea144702018-10-10 03:52:04 +04002- system.etcd.server.cluster
Andrey Shestakov718e3f42018-04-24 12:51:24 +03003- system.haproxy.proxy.listen.kubernetes.apiserver
Victor Ryzhenkinafeea292018-06-07 16:58:58 +04004- system.keepalived.cluster.instance.kube_api_server_vip
Andrey Shestakov718e3f42018-04-24 12:51:24 +03005- system.salt.minion.cert.etcd_server
6- system.kubernetes.master.cluster
Victor Ryzhenkin97dbb872018-06-18 17:01:18 +04007- system.kubernetes.master.auth.rbac
Victor Ryzhenkinb9e412e2018-05-29 20:07:19 +04008- system.kubernetes.control.roles.cluster-admin
Victor Ryzhenkin105ee212018-07-24 17:22:56 +04009- system.kubernetes.control.roles.genie-pod-patch
Victor Ryzhenkin4e9bf572018-12-20 00:43:16 +040010- cluster.k8s-ha-calico-flannel-virtlet.kubernetes.common
11- cluster.k8s-ha-calico-flannel-virtlet.kubernetes.networking.virtual
12- cluster.k8s-ha-calico-flannel-virtlet.infra
Andrey Shestakov718e3f42018-04-24 12:51:24 +030013parameters:
14 _param:
Vladimir Jigulin116ec072018-12-27 12:04:46 +040015 keepalived_k8s_apiserver_vip_interface: ${_param:control_interface}
Victor Ryzhenkinafeea292018-06-07 16:58:58 +040016 keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
17 keepalived_k8s_apiserver_vip_password: password
Andrey Shestakov718e3f42018-04-24 12:51:24 +030018 etcd:
19 server:
Andrey Shestakov718e3f42018-04-24 12:51:24 +030020 setup:
21 calico:
Andrey Shestakovbb543b32018-10-08 18:28:45 +030022 key: /calico/ipam/v2/assignment/ipv4/block/${_param:calico_private_network}-${_param:calico_private_netmask}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030023 value: '{"masquerade":true,"cidr":"${_param:calico_private_network}/${_param:calico_private_netmask}"}'
24 kubernetes:
Andrey Shestakov718e3f42018-04-24 12:51:24 +030025 master:
Victor Ryzhenkin4e9bf572018-12-20 00:43:16 +040026 apiserver:
27 insecure_address: 0.0.0.0
Andrey Shestakov718e3f42018-04-24 12:51:24 +030028 kubelet:
29 address: ${_param:single_address}
30 fail_on_swap: ${_param:kubelet_fail_on_swap}
31 etcd:
32 ssl:
33 enabled: true
34 network:
35 genie:
Victor Ryzhenkin4e9bf572018-12-20 00:43:16 +040036 enabled: ${_param:kubernetes_genie_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030037 default_plugin: calico
Andrey Shestakov718e3f42018-04-24 12:51:24 +030038 flannel:
Victor Ryzhenkin4e9bf572018-12-20 00:43:16 +040039 enabled: ${_param:kubernetes_flannel_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030040 private_ip_range: 10.20.0.0/16
41 calico:
42 enabled: true
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020043 image: ${_param:kubernetes_calico_image}
44 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
45 cni_image: ${_param:kubernetes_calico_cni_image}
46 kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030047 etcd:
48 ssl:
49 enabled: true
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020050 policy:
51 enabled: ${_param:kubernetes_calico_policy_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030052 namespace:
53 netchecker:
54 enabled: true