kubeasz/roles/kube-router/defaults/main.yml

24 lines
774 B
YAML
Raw Normal View History

# 更多设置参考https://github.com/cloudnativelabs/kube-router/blob/master/docs/user-guide.md
# 如果 node 节点有多块网卡,请设置 true
# 另外发现设置为 true 时能够解决v1.10使用ipvs偶尔出现pod内dial tcp 10.68.0.1:443: i/o timeout的 bug
NODE_WITH_MULTIPLE_NETWORKS: "true"
# Router 支持开关
ROUTER_ENABLE: "true"
# NetworkPolicy 支持开关
FIREWALL_ENABLE: "true"
2018-07-09 17:43:12 +08:00
# service-proxy 支持开关,如选择 'false' 即使用k8s集群默认的kube-proxy
SERVICE_PROXY: "false"
2018-06-22 18:01:43 +08:00
# kube-router 镜像版本
2018-09-09 11:04:49 +08:00
kube_router_ver: "v0.2.0"
2018-08-12 09:24:22 +08:00
busybox_ver: "1.28.4"
2018-06-22 18:01:43 +08:00
PullPolicy: "IfNotPresent"
# kube-router 离线镜像tar包
2018-08-12 09:24:22 +08:00
kuberouter_offline: "kube-router_{{ kube_router_ver }}.tar"
busybox_offline: "busybox_{{ busybox_ver }}.tar"