mirror of https://github.com/easzlab/kubeasz.git
20 lines
626 B
YAML
20 lines
626 B
YAML
# 默认使用kube-proxy的 'iptables' 模式,可选 'ipvs' 模式(experimental)
|
||
PROXY_MODE: "iptables"
|
||
|
||
# 基础容器镜像
|
||
SANDBOX_IMAGE: "mirrorgooglecontainers/pause-amd64:3.1"
|
||
#SANDBOX_IMAGE: "registry.access.redhat.com/rhel7/pod-infrastructure:latest"
|
||
|
||
# Kubelet 根目录
|
||
KUBELET_ROOT_DIR: "/var/lib/kubelet"
|
||
|
||
# node节点最大pod 数
|
||
MAX_PODS: 110
|
||
|
||
# 配置为kube组件(kubelet,kube-proxy,dockerd等)预留的资源量
|
||
KUBE_RESERVED_ENABLED: "yes"
|
||
KUBE_RESERVED: "cpu=200m,memory=500Mi,ephemeral-storage=1Gi"
|
||
|
||
# 配置kubelet的hard eviction条件
|
||
HARD_EVICTION: "memory.available<200Mi,nodefs.available<10%"
|