make cluster-config

This commit is contained in:
2026-03-25 06:29:07 +08:00
parent befd1a470e
commit db19bc72f7
4 changed files with 95 additions and 5 deletions

View File

@@ -0,0 +1,26 @@
# 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