kubeasz/roles/kube-node/vars/main.yml

15 lines
545 B
YAML
Raw Normal View History

# 设置 APISERVER 地址使用kube-lb负载均衡监听地址
KUBE_APISERVER: "https://127.0.0.1:{{ SECURE_PORT }}"
2021-01-07 09:30:50 +08:00
2021-04-19 00:00:55 +08:00
# cgroup driver
2022-06-28 19:59:50 +08:00
CGROUP_DRIVER: "systemd"
# coredns 服务地址根据SERVICE_CIDR 设置,默认选择网段第二个地址
CLUSTER_DNS_SVC_IP: "{{ SERVICE_CIDR.split('.')[0] }}.{{ SERVICE_CIDR.split('.')[1] }}.{{ SERVICE_CIDR.split('.')[2] }}.{{ SERVICE_CIDR.split('.')[3]|int + 2 }}"
2023-04-28 21:56:38 +08:00
# pod-max-pids
POD_MAX_PIDS: -1
2023-08-01 18:58:57 +08:00
# Enable strict ARP by setting arp_ignore to 1 and arp_announce to 2
ENABLE_IPVS_STRICT_ARP: false