Files
soleprint/ctrl/k8s/kind-config.yaml
2026-09-12 02:44:40 -03:00

27 lines
1.3 KiB
YAML

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
# Single shared cluster for all soleprint rooms.
# Each room deploys into its own namespace; gateway Services pick a
# NodePort from the 30080-30099 range mapped here.
#
# Built by rig, not by spr: ctrl/cluster.sh hands this file to
# rig/ctrl/cluster.sh, which substitutes CLUSTER and NODE_IMAGE (named without
# braces here so this comment survives the substitution). The shape is spr's —
# what its cluster needs is spr's business. Building it is rig's.
name: ${CLUSTER}
nodes:
- role: control-plane
image: ${NODE_IMAGE}
extraPortMappings:
# Room gateway NodePorts (one per active room).
- {containerPort: 30080, hostPort: 30080, protocol: TCP}
- {containerPort: 30081, hostPort: 30081, protocol: TCP}
- {containerPort: 30082, hostPort: 30082, protocol: TCP}
- {containerPort: 30083, hostPort: 30083, protocol: TCP}
- {containerPort: 30084, hostPort: 30084, protocol: TCP}
- {containerPort: 30085, hostPort: 30085, protocol: TCP}
- {containerPort: 30086, hostPort: 30086, protocol: TCP}
- {containerPort: 30087, hostPort: 30087, protocol: TCP}
- {containerPort: 30088, hostPort: 30088, protocol: TCP}
- {containerPort: 30089, hostPort: 30089, protocol: TCP}