blob: 34cace7bac7c32a968fe411066a8feccb0ff801e [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 Ryzhenkinb9e412e2018-05-29 20:07:19 +04009- system.kubernetes.control.roles.cluster-admin
Andrey Shestakov718e3f42018-04-24 12:51:24 +030010- cluster.k8s-ha-calico-flannel-virtlet.kubernetes.compute
11- cluster.k8s-ha-calico-flannel-virtlet
12parameters:
13 _param:
Victor Ryzhenkinafeea292018-06-07 16:58:58 +040014 keepalived_k8s_apiserver_vip_interface: ${_param:primary_interface}
15 keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
16 keepalived_k8s_apiserver_vip_password: password
Andrey Shestakov718e3f42018-04-24 12:51:24 +030017 etcd:
18 server:
19 bind:
20 host: ${_param:deploy_address}
21 source:
22 engine: docker_hybrid
23 ssl:
24 enabled: true
25 setup:
26 calico:
27 key: /calico/v1/ipam/v4/pool/${_param:calico_private_network}-${_param:calico_private_netmask}
28 value: '{"masquerade":true,"cidr":"${_param:calico_private_network}/${_param:calico_private_netmask}"}'
29 kubernetes:
30 common:
31 addons:
32 dashboard:
33 enabled: ${_param:kubernetes_dashboard}
34 image: ${_param:kubernetes_dashboard_image}
35 helm:
36 enabled: ${_param:kubernetes_helm_enabled}
37 calico_policy:
38 enabled: ${_param:kubernetes_calico_policy_enabled}
39 image: ${_param:kubernetes_calico_policy_image}
40 netchecker:
41 enabled: ${_param:kubernetes_netchecker_enabled}
42 agent_image: ${_param:kubernetes_netchecker_agent_image}
43 server_image: ${_param:kubernetes_netchecker_server_image}
44 agent_probeurls: ${_param:kubernetes_netchecker_agent_probeurls}
45 dns:
46 enabled: ${_param:kubernetes_dns}
47 kubedns_image: ${_param:kubernetes_kubedns_image}
48 dnsmasq_image: ${_param:kubernetes_dnsmasq_image}
49 sidecar_image: ${_param:kubernetes_sidecar_image}
50 autoscaler:
51 image: ${_param:kubernetes_dns_autoscaler_image}
52 coredns:
53 enabled: ${_param:kubernetes_coredns_enabled}
54 externaldns:
55 enabled: ${_param:kubernetes_externaldns_enabled}
56 image: ${_param:kubernetes_externaldns_image}
57 provider: ${_param:kubernetes_externaldns_provider}
58 master:
59 kubelet:
60 address: ${_param:single_address}
61 fail_on_swap: ${_param:kubelet_fail_on_swap}
62 etcd:
63 ssl:
64 enabled: true
65 network:
66 genie:
67 enabled: true
68 default_plugin: calico
69 image: ${_param:kubernetes_genie_image}
70 flannel:
71 enabled: true
72 private_ip_range: 10.20.0.0/16
73 calico:
74 enabled: true
75 etcd:
76 ssl:
77 enabled: true
78 namespace:
79 netchecker:
80 enabled: true
81 auth:
82 mode: Node,RBAC