blob: e9ded9aa825dc00b1954261fc399a1dbb9248082 [file] [log] [blame]
Andrey Shestakov718e3f42018-04-24 12:51:24 +03001classes:
2- service.etcd.server.cluster
3- 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 Shestakov718e3f42018-04-24 12:51:24 +03006- system.linux.system.repo.docker_legacy
7- 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
Andrey Shestakov718e3f42018-04-24 12:51:24 +030011- cluster.k8s-ha-calico-flannel-virtlet.kubernetes.compute
12- cluster.k8s-ha-calico-flannel-virtlet
13parameters:
14 _param:
Victor Ryzhenkinafeea292018-06-07 16:58:58 +040015 keepalived_k8s_apiserver_vip_interface: ${_param:primary_interface}
16 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:
20 bind:
21 host: ${_param:deploy_address}
22 source:
23 engine: docker_hybrid
24 ssl:
25 enabled: true
26 setup:
27 calico:
28 key: /calico/v1/ipam/v4/pool/${_param:calico_private_network}-${_param:calico_private_netmask}
29 value: '{"masquerade":true,"cidr":"${_param:calico_private_network}/${_param:calico_private_netmask}"}'
30 kubernetes:
31 common:
32 addons:
33 dashboard:
34 enabled: ${_param:kubernetes_dashboard}
35 image: ${_param:kubernetes_dashboard_image}
36 helm:
37 enabled: ${_param:kubernetes_helm_enabled}
38 calico_policy:
39 enabled: ${_param:kubernetes_calico_policy_enabled}
40 image: ${_param:kubernetes_calico_policy_image}
41 netchecker:
42 enabled: ${_param:kubernetes_netchecker_enabled}
43 agent_image: ${_param:kubernetes_netchecker_agent_image}
44 server_image: ${_param:kubernetes_netchecker_server_image}
45 agent_probeurls: ${_param:kubernetes_netchecker_agent_probeurls}
46 dns:
47 enabled: ${_param:kubernetes_dns}
48 kubedns_image: ${_param:kubernetes_kubedns_image}
49 dnsmasq_image: ${_param:kubernetes_dnsmasq_image}
50 sidecar_image: ${_param:kubernetes_sidecar_image}
51 autoscaler:
52 image: ${_param:kubernetes_dns_autoscaler_image}
53 coredns:
54 enabled: ${_param:kubernetes_coredns_enabled}
55 externaldns:
56 enabled: ${_param:kubernetes_externaldns_enabled}
57 image: ${_param:kubernetes_externaldns_image}
58 provider: ${_param:kubernetes_externaldns_provider}
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040059 metallb:
60 enabled: ${_param:kubernetes_metallb_enabled}
61 addresses:
62 - ${_param:kubernetes_metallb_addresses_pool}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030063 master:
64 kubelet:
65 address: ${_param:single_address}
66 fail_on_swap: ${_param:kubelet_fail_on_swap}
67 etcd:
68 ssl:
69 enabled: true
70 network:
71 genie:
72 enabled: true
73 default_plugin: calico
74 image: ${_param:kubernetes_genie_image}
75 flannel:
76 enabled: true
77 private_ip_range: 10.20.0.0/16
78 calico:
79 enabled: true
80 etcd:
81 ssl:
82 enabled: true
83 namespace:
84 netchecker:
85 enabled: true