blob: 0fcc165c5fecb368cd9948acb3f2d7a03fef64ef [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
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:
21 bind:
22 host: ${_param:deploy_address}
23 source:
24 engine: docker_hybrid
25 ssl:
26 enabled: true
27 setup:
28 calico:
29 key: /calico/v1/ipam/v4/pool/${_param:calico_private_network}-${_param:calico_private_netmask}
30 value: '{"masquerade":true,"cidr":"${_param:calico_private_network}/${_param:calico_private_netmask}"}'
31 kubernetes:
32 common:
33 addons:
34 dashboard:
35 enabled: ${_param:kubernetes_dashboard}
36 image: ${_param:kubernetes_dashboard_image}
37 helm:
38 enabled: ${_param:kubernetes_helm_enabled}
39 calico_policy:
40 enabled: ${_param:kubernetes_calico_policy_enabled}
41 image: ${_param:kubernetes_calico_policy_image}
42 netchecker:
43 enabled: ${_param:kubernetes_netchecker_enabled}
44 agent_image: ${_param:kubernetes_netchecker_agent_image}
45 server_image: ${_param:kubernetes_netchecker_server_image}
46 agent_probeurls: ${_param:kubernetes_netchecker_agent_probeurls}
47 dns:
48 enabled: ${_param:kubernetes_dns}
49 kubedns_image: ${_param:kubernetes_kubedns_image}
50 dnsmasq_image: ${_param:kubernetes_dnsmasq_image}
51 sidecar_image: ${_param:kubernetes_sidecar_image}
52 autoscaler:
53 image: ${_param:kubernetes_dns_autoscaler_image}
54 coredns:
55 enabled: ${_param:kubernetes_coredns_enabled}
56 externaldns:
57 enabled: ${_param:kubernetes_externaldns_enabled}
58 image: ${_param:kubernetes_externaldns_image}
59 provider: ${_param:kubernetes_externaldns_provider}
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040060 metallb:
61 enabled: ${_param:kubernetes_metallb_enabled}
62 addresses:
63 - ${_param:kubernetes_metallb_addresses_pool}
Andrey Shestakov718e3f42018-04-24 12:51:24 +030064 master:
65 kubelet:
66 address: ${_param:single_address}
67 fail_on_swap: ${_param:kubelet_fail_on_swap}
68 etcd:
69 ssl:
70 enabled: true
71 network:
72 genie:
73 enabled: true
74 default_plugin: calico
75 image: ${_param:kubernetes_genie_image}
76 flannel:
77 enabled: true
78 private_ip_range: 10.20.0.0/16
79 calico:
80 enabled: true
81 etcd:
82 ssl:
83 enabled: true
84 namespace:
85 netchecker:
86 enabled: true