Some basic agent startup
This commit is contained in:
@@ -5,7 +5,7 @@ MKS_NODE_NAME=monok8s-master
|
||||
# RJ45 Ports from left to right (interface name inside the OS)
|
||||
# - eth1, eth2, eth0
|
||||
MKS_MGMT_IFACE=eth1
|
||||
MKS_MGMT_ADDRESS=10.0.0.14/24
|
||||
MKS_MGMT_ADDRESS=10.0.0.10/24
|
||||
MKS_MGMT_GATEWAY=10.0.0.1
|
||||
|
||||
# Space-separated real upstream DNS servers.
|
||||
@@ -16,8 +16,9 @@ MKS_DNS_NAMESERVERS="10.0.0.1 1.1.1.1 1.0.0.1"
|
||||
MKS_DNS_SEARCH_DOMAINS="lan"
|
||||
|
||||
## k8s config
|
||||
MKS_KUBERNETES_VERSION=v1.35.3
|
||||
MKS_APISERVER_ADVERTISE_ADDRESS=10.0.0.14
|
||||
# Do not set this yourself, this auto follows the build version
|
||||
# DEV_ONLY MKS_KUBERNETES_VERSION=v1.35.1
|
||||
MKS_APISERVER_ADVERTISE_ADDRESS=10.0.0.10
|
||||
|
||||
# Optional but strongly recommended
|
||||
MKS_CLUSTER_NAME=monok8s
|
||||
@@ -25,11 +26,10 @@ MKS_POD_SUBNET=10.244.0.0/16
|
||||
MKS_SERVICE_SUBNET=10.96.0.0/12
|
||||
MKS_CLUSTER_DOMAIN=cluster.local
|
||||
|
||||
# Bootstrap mode: init, join
|
||||
MKS_BOOTSTRAP_MODE=init
|
||||
# control-plane, worker
|
||||
MKS_CLUSTER_ROLE=control-plane
|
||||
MKS_INIT_CONTROL_PLANE=yes
|
||||
|
||||
# For join mode: worker, control-plane
|
||||
MKS_JOIN_KIND=worker
|
||||
MKS_API_SERVER_ENDPOINT=
|
||||
MKS_BOOTSTRAP_TOKEN=
|
||||
MKS_DISCOVERY_TOKEN_CA_CERT_HASH=
|
||||
@@ -46,7 +46,7 @@ MKS_NODE_ANNOTATIONS=mono.si/board=ls1046a,mono.si/image-version=dev
|
||||
|
||||
# Optional
|
||||
# Extra API server SANs, comma-separated
|
||||
MKS_SANS=127.0.0.1,localhost,monok8s-master,10.0.0.14
|
||||
MKS_SANS=127.0.0.1,localhost,monok8s-master,10.0.0.10
|
||||
|
||||
# CRI-O socket
|
||||
MKS_CONTAINER_RUNTIME_ENDPOINT=unix:///var/run/crio/crio.sock
|
||||
@@ -55,4 +55,4 @@ MKS_CONTAINER_RUNTIME_ENDPOINT=unix:///var/run/crio/crio.sock
|
||||
MKS_ALLOW_SCHEDULING_ON_CONTROL_PLANE=true
|
||||
|
||||
# Emergency override only
|
||||
MKS_SKIP_IMAGE_CHECK=no
|
||||
MKS_SKIP_IMAGE_CHECK=no
|
||||
|
||||
Reference in New Issue
Block a user