blob: c8c91778b82349a45badfcd174e56a6aa514588d [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- service.kubernetes.control.cluster
Andrey Shestakov718e3f42018-04-24 12:51:24 +03004- system.haproxy.proxy.listen.kubernetes.apiserver
Victor Ryzhenkinafeea292018-06-07 16:58:58 +04005- system.keepalived.cluster.instance.kube_api_server_vip
Andrey Shestakovaabffb62018-11-13 17:11:10 +02006- system.linux.system.repo.docker
Andrey Shestakov718e3f42018-04-24 12:51:24 +03007- system.salt.minion.cert.etcd_server
8- system.kubernetes.master.cluster
Victor Ryzhenkin97dbb872018-06-18 17:01:18 +04009- system.kubernetes.master.auth.rbac
Victor Ryzhenkinb9e412e2018-05-29 20:07:19 +040010- system.kubernetes.control.roles.cluster-admin
Victor Ryzhenkin105ee212018-07-24 17:22:56 +040011- system.kubernetes.control.roles.genie-pod-patch
Andrey Shestakov718e3f42018-04-24 12:51:24 +030012- cluster.k8s-ha-calico-flannel-virtlet.kubernetes.compute
13- cluster.k8s-ha-calico-flannel-virtlet
14parameters:
15 _param:
Victor Ryzhenkinafeea292018-06-07 16:58:58 +040016 keepalived_k8s_apiserver_vip_interface: ${_param:primary_interface}
17 keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
18 keepalived_k8s_apiserver_vip_password: password
Andrey Shestakov718e3f42018-04-24 12:51:24 +030019 etcd:
20 server:
Andrey Shestakov718e3f42018-04-24 12:51:24 +030021 setup:
22 calico:
Andrey Shestakovbb543b32018-10-08 18:28:45 +030023 key: /calico/ipam/v2/assignment/ipv4/block/${_param:calico_private_network}-${_param:calico_private_netmask}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030024 value: '{"masquerade":true,"cidr":"${_param:calico_private_network}/${_param:calico_private_netmask}"}'
25 kubernetes:
26 common:
27 addons:
28 dashboard:
29 enabled: ${_param:kubernetes_dashboard}
30 image: ${_param:kubernetes_dashboard_image}
31 helm:
32 enabled: ${_param:kubernetes_helm_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030033 netchecker:
34 enabled: ${_param:kubernetes_netchecker_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030035 agent_probeurls: ${_param:kubernetes_netchecker_agent_probeurls}
36 dns:
37 enabled: ${_param:kubernetes_dns}
38 kubedns_image: ${_param:kubernetes_kubedns_image}
39 dnsmasq_image: ${_param:kubernetes_dnsmasq_image}
40 sidecar_image: ${_param:kubernetes_sidecar_image}
41 autoscaler:
42 image: ${_param:kubernetes_dns_autoscaler_image}
43 coredns:
44 enabled: ${_param:kubernetes_coredns_enabled}
45 externaldns:
46 enabled: ${_param:kubernetes_externaldns_enabled}
47 image: ${_param:kubernetes_externaldns_image}
48 provider: ${_param:kubernetes_externaldns_provider}
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040049 metallb:
50 enabled: ${_param:kubernetes_metallb_enabled}
51 addresses:
52 - ${_param:kubernetes_metallb_addresses_pool}
Vladimir Jigulinb8114182018-10-03 10:19:29 +040053 ingress-nginx:
54 enabled: ${_param:kubernetes_ingressnginx_enabled}
Łukasz Oleś317fe122018-11-29 14:02:46 +010055 metrics-server:
56 enabled: ${_param:kubernetes_metrics_server_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030057 master:
58 kubelet:
59 address: ${_param:single_address}
60 fail_on_swap: ${_param:kubelet_fail_on_swap}
61 etcd:
62 ssl:
63 enabled: true
64 network:
65 genie:
66 enabled: true
67 default_plugin: calico
68 image: ${_param:kubernetes_genie_image}
69 flannel:
70 enabled: true
71 private_ip_range: 10.20.0.0/16
72 calico:
73 enabled: true
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020074 image: ${_param:kubernetes_calico_image}
75 calicoctl_image: ${_param:kubernetes_calico_calicoctl_image}
76 cni_image: ${_param:kubernetes_calico_cni_image}
77 kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030078 etcd:
79 ssl:
80 enabled: true
Aleksei Kasatkin83a3d1d2018-08-24 14:18:25 +020081 policy:
82 enabled: ${_param:kubernetes_calico_policy_enabled}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030083 namespace:
84 netchecker:
85 enabled: true