2021-04-01 19:18:59 +08:00
|
|
|
|
# 设置 APISERVER 地址,使用kube-lb负载均衡监听地址
|
2021-04-02 18:53:46 +08:00
|
|
|
|
KUBE_APISERVER: "https://127.0.0.1:{{ SECURE_PORT }}"
|
2021-01-07 09:30:50 +08:00
|
|
|
|
|
2021-01-19 20:20:05 +08:00
|
|
|
|
# node local dns cache 离线镜像
|
|
|
|
|
dnscache_offline: "k8s-dns-node-cache_{{ dnsNodeCacheVer }}.tar"
|
2021-04-19 00:00:55 +08:00
|
|
|
|
|
|
|
|
|
# cgroup driver
|
|
|
|
|
CGROUP_DRIVER: "{%- if CONTAINER_RUNTIME == 'containerd' -%} \
|
|
|
|
|
systemd \
|
|
|
|
|
{%- else -%} \
|
|
|
|
|
{%- if DOCKER_VER|float >= 20.10 -%} \
|
|
|
|
|
systemd \
|
|
|
|
|
{%- else -%} \
|
|
|
|
|
cgroupfs \
|
|
|
|
|
{%- endif -%} \
|
|
|
|
|
{%- endif -%}"
|