45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
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
|
|
|
|
# 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
|
|
|
|
# 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
|