Can now create a node worker

This commit is contained in:
2026-03-25 18:05:42 +08:00
parent db19bc72f7
commit 01ec867c2f
12 changed files with 747 additions and 408 deletions

View File

@@ -9,6 +9,24 @@ POD_SUBNET=10.244.0.0/16
SERVICE_SUBNET=10.96.0.0/12
CLUSTER_DOMAIN=cluster.local
# Bootstrap mode: init, join
BOOTSTRAP_MODE=init
# For join mode: worker, control-plane
JOIN_KIND=worker
API_SERVER_ENDPOINT=
BOOTSTRAP_TOKEN=
DISCOVERY_TOKEN_CA_CERT_HASH=
CONTROL_PLANE_CERT_KEY=
# none: Install manually
# bridge: CRIO's default bridge CNI
CNI_PLUGIN=none
# Node registration metadata
NODE_LABELS=topology.kubernetes.io/zone=lab,node.kubernetes.io/instance-type=mono-gateway
NODE_ANNOTATIONS=mono.si/board=ls1046a,mono.si/image-version=dev
# Optional
# Extra API server SANs, comma-separated
SANS=127.0.0.1,localhost,monok8s-master