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

24 lines
774 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 更多设置参考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"
# service-proxy 支持开关,如选择 'false' 即使用k8s集群默认的kube-proxy
SERVICE_PROXY: "false"
# kube-router 镜像版本
kube_router_ver: "v0.2.0"
busybox_ver: "1.28.4"
PullPolicy: "IfNotPresent"
# kube-router 离线镜像tar包
kuberouter_offline: "kube-router_{{ kube_router_ver }}.tar"
busybox_offline: "busybox_{{ busybox_ver }}.tar"