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.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)---
|
||||
# Binaries Directory
|
||||
bin_dir="/opt/kube/bin"
|
||||
|
|
|
@ -49,6 +49,12 @@ NODE_PORT_RANGE="20000-40000"
|
|||
# Cluster DNS Domain
|
||||
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) ---
|
||||
# Binaries Directory
|
||||
bin_dir="/opt/kube/bin"
|
||||
|
|
|
@ -16,3 +16,6 @@ ENABLE_MIRROR_REGISTRY: true
|
|||
|
||||
# 设置 docker 仓库镜像
|
||||
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 %}
|
||||
"hosts": ["tcp://0.0.0.0:2376", "unix:///var/run/docker.sock"],
|
||||
{% endif %}
|
||||
"insecure-registries": {{ INSECURE_REG }},
|
||||
"max-concurrent-downloads": 10,
|
||||
"log-driver": "{{ LOG_DRIVER }}",
|
||||
"log-level": "{{ LOG_LEVEL }}",
|
||||
|
|
Loading…
Reference in New Issue