mirror of https://github.com/easzlab/kubeasz.git
9 lines
412 B
YAML
9 lines
412 B
YAML
# 设置 APISERVER 地址,使用kube-lb负载均衡监听地址
|
||
KUBE_APISERVER: "https://127.0.0.1:{{ SECURE_PORT }}"
|
||
|
||
# cgroup driver
|
||
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 }}"
|