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

9 lines
412 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 }}"