2018-06-17 23:19:04 +08:00
|
|
|
# dns 自动安装,可选"coredns"和“kubedns”
|
|
|
|
dns_install: "yes"
|
|
|
|
dns_backend: "coredns"
|
2018-10-14 12:02:33 +08:00
|
|
|
kubedns_offline: "kubedns_1.14.13.tar"
|
2018-12-11 17:27:34 +08:00
|
|
|
coredns_offline: "coredns_1.2.6.tar"
|
2018-07-23 22:00:06 +08:00
|
|
|
dns_offline: "{%- if dns_backend == 'coredns' -%} \
|
|
|
|
{{ coredns_offline }} \
|
|
|
|
{%- else -%} \
|
|
|
|
{{ kubedns_offline }} \
|
|
|
|
{%- endif -%}"
|
2018-06-17 23:19:04 +08:00
|
|
|
|
|
|
|
# metric server 自动安装
|
|
|
|
metricsserver_install: "yes"
|
2018-10-05 09:47:03 +08:00
|
|
|
metricsserver_offline: "metrics-server_v0.3.1.tar"
|
2018-06-17 23:19:04 +08:00
|
|
|
|
|
|
|
# dashboard 自动安装
|
|
|
|
dashboard_install: "yes"
|
2018-09-09 11:04:49 +08:00
|
|
|
dashboard_offline: "dashboard_v1.10.0.tar"
|
2018-06-17 23:19:04 +08:00
|
|
|
|
2018-12-21 22:35:15 +08:00
|
|
|
# ingress 自动安装,可选 "traefik" 和 "nginx-ingress"
|
2018-06-23 12:42:02 +08:00
|
|
|
ingress_install: "no"
|
2018-06-28 10:52:20 +08:00
|
|
|
ingress_backend: "traefik"
|
2018-12-06 15:27:42 +08:00
|
|
|
traefik_offline: "traefik_v1.7.4.tar"
|
2018-12-21 22:35:15 +08:00
|
|
|
nginx_ingress_offline: "nginx_ingress_0.21.0.tar"
|
2018-06-17 23:19:04 +08:00
|
|
|
|
|
|
|
# heapster 自动安装
|
|
|
|
heapster_install: "no"
|
2018-10-14 12:02:33 +08:00
|
|
|
heapster_offline: "heapster_v1.5.4.tar"
|
2018-06-17 23:19:04 +08:00
|
|
|
|
2018-10-28 21:20:26 +08:00
|
|
|
# metallb 自动安装
|
|
|
|
metallb_install: "no"
|
|
|
|
# 模式选择: 二层 "layer2" 或者三层 "bgp"
|
|
|
|
metallb_protocol: "layer2"
|
|
|
|
metallb_offline: "metallb_v0.7.3.tar"
|
|
|
|
metallb_vip_pool: "192.168.1.240/29"
|
2018-12-21 22:35:15 +08:00
|
|
|
|
|
|
|
# efk 自动安装
|
|
|
|
#efk_install: "no"
|
|
|
|
|
|
|
|
# prometheus 自动安装
|
|
|
|
#prometheus_install: "no"
|
|
|
|
|