mirror of https://github.com/easzlab/kubeasz.git
parent
1e66e7e6ef
commit
8278b1e004
|
@ -45,6 +45,12 @@ NODE_PORT_RANGE="20000-40000"
|
||||||
# Cluster DNS Domain
|
# Cluster DNS Domain
|
||||||
CLUSTER_DNS_DOMAIN="cluster.local."
|
CLUSTER_DNS_DOMAIN="cluster.local."
|
||||||
|
|
||||||
|
# Docker data ROOT
|
||||||
|
# STORAGE_DIR="/var/lib/docker"
|
||||||
|
|
||||||
|
# Docker insecure registry
|
||||||
|
# INSECURE_REG='["127.0.0.1/8"]'
|
||||||
|
|
||||||
# -------- Additional Variables (don't change the default value right now)---
|
# -------- Additional Variables (don't change the default value right now)---
|
||||||
# Binaries Directory
|
# Binaries Directory
|
||||||
bin_dir="/opt/kube/bin"
|
bin_dir="/opt/kube/bin"
|
||||||
|
|
|
@ -49,6 +49,12 @@ NODE_PORT_RANGE="20000-40000"
|
||||||
# Cluster DNS Domain
|
# Cluster DNS Domain
|
||||||
CLUSTER_DNS_DOMAIN="cluster.local."
|
CLUSTER_DNS_DOMAIN="cluster.local."
|
||||||
|
|
||||||
|
# Docker data ROOT
|
||||||
|
# STORAGE_DIR="/var/lib/docker"
|
||||||
|
|
||||||
|
# Docker insecure registry
|
||||||
|
# INSECURE_REG='["127.0.0.1/8"]'
|
||||||
|
|
||||||
# -------- Additional Variables (don't change the default value right now) ---
|
# -------- Additional Variables (don't change the default value right now) ---
|
||||||
# Binaries Directory
|
# Binaries Directory
|
||||||
bin_dir="/opt/kube/bin"
|
bin_dir="/opt/kube/bin"
|
||||||
|
|
|
@ -16,3 +16,6 @@ ENABLE_MIRROR_REGISTRY: true
|
||||||
|
|
||||||
# 设置 docker 仓库镜像
|
# 设置 docker 仓库镜像
|
||||||
REG_MIRRORS: '["https://dockerhub.azk8s.cn", "https://docker.mirrors.ustc.edu.cn"]'
|
REG_MIRRORS: '["https://dockerhub.azk8s.cn", "https://docker.mirrors.ustc.edu.cn"]'
|
||||||
|
|
||||||
|
# 信任的HTTP仓库
|
||||||
|
INSECURE_REG: '["127.0.0.1/8"]'
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
{% if ENABLE_REMOTE_API %}
|
{% if ENABLE_REMOTE_API %}
|
||||||
"hosts": ["tcp://0.0.0.0:2376", "unix:///var/run/docker.sock"],
|
"hosts": ["tcp://0.0.0.0:2376", "unix:///var/run/docker.sock"],
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
"insecure-registries": {{ INSECURE_REG }},
|
||||||
"max-concurrent-downloads": 10,
|
"max-concurrent-downloads": 10,
|
||||||
"log-driver": "{{ LOG_DRIVER }}",
|
"log-driver": "{{ LOG_DRIVER }}",
|
||||||
"log-level": "{{ LOG_LEVEL }}",
|
"log-level": "{{ LOG_LEVEL }}",
|
||||||
|
|
Loading…
Reference in New Issue