33 lines
762 B
YAML
33 lines
762 B
YAML
# ctlptl configuration for Kind cluster
|
|
# Usage: ctlptl apply -f ctlptl.yaml
|
|
|
|
apiVersion: ctlptl.dev/v1alpha1
|
|
kind: Registry
|
|
name: sysmonstm-registry
|
|
port: 5005
|
|
---
|
|
apiVersion: ctlptl.dev/v1alpha1
|
|
kind: Cluster
|
|
product: kind
|
|
registry: sysmonstm-registry
|
|
kindV1Alpha4Cluster:
|
|
name: sysmonstm
|
|
nodes:
|
|
- role: control-plane
|
|
extraPortMappings:
|
|
# Gateway HTTP
|
|
- containerPort: 30080
|
|
hostPort: 8080
|
|
protocol: TCP
|
|
# Aggregator gRPC
|
|
- containerPort: 30051
|
|
hostPort: 50051
|
|
protocol: TCP
|
|
# Resource limits for t2.small compatibility
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: InitConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
system-reserved: memory=256Mi
|