Files
monok8s/configs/cluster.env.default
2026-03-25 06:29:07 +08:00

27 lines
609 B
Plaintext

# Required
KUBERNETES_VERSION=v1.35.3
NODE_NAME=monok8s-master
APISERVER_ADVERTISE_ADDRESS=192.168.1.50
# Optional but strongly recommended
CLUSTER_NAME=monok8s
POD_SUBNET=10.244.0.0/16
SERVICE_SUBNET=10.96.0.0/12
CLUSTER_DOMAIN=cluster.local
# Optional
# Extra API server SANs, comma-separated
SANS=127.0.0.1,localhost,monok8s-master
# Single-node mode: allow workloads on the control plane
ALLOW_SCHEDULING_ON_CONTROL_PLANE=yes
# CRI-O socket
CONTAINER_RUNTIME_ENDPOINT=unix:///var/run/crio/crio.sock
# Usually leave this alone
KUBECONFIG_USER_HOME=/root
# Emergency override only
SKIP_IMAGE_CHECK=no