2025-09-27 22:55:42 +02:00
|
|
|
kind: Cluster
|
|
|
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
|
|
|
|
name: bakery-ia-local
|
|
|
|
|
nodes:
|
|
|
|
|
- role: control-plane
|
2025-11-27 15:52:40 +01:00
|
|
|
# Increase resource limits for the Kind node to handle multiple services
|
2025-09-27 22:55:42 +02:00
|
|
|
kubeadmConfigPatches:
|
|
|
|
|
- |
|
|
|
|
|
kind: InitConfiguration
|
|
|
|
|
nodeRegistration:
|
|
|
|
|
kubeletExtraArgs:
|
|
|
|
|
node-labels: "ingress-ready=true"
|
2025-11-27 15:52:40 +01:00
|
|
|
# Increase max pods for development environment
|
|
|
|
|
max-pods: "200"
|
2025-10-19 19:22:37 +02:00
|
|
|
- |
|
|
|
|
|
kind: ClusterConfiguration
|
2025-11-27 15:52:40 +01:00
|
|
|
# Increase API server memory and other parameters for local dev
|
2025-10-19 19:22:37 +02:00
|
|
|
apiServer:
|
|
|
|
|
extraArgs:
|
|
|
|
|
encryption-provider-config: /etc/kubernetes/enc/encryption-config.yaml
|
|
|
|
|
extraVolumes:
|
|
|
|
|
- name: encryption-config
|
|
|
|
|
hostPath: /etc/kubernetes/enc
|
|
|
|
|
mountPath: /etc/kubernetes/enc
|
|
|
|
|
readOnly: true
|
|
|
|
|
pathType: DirectoryOrCreate
|
2025-11-27 15:52:40 +01:00
|
|
|
# Mount encryption keys for secure development
|
2025-10-19 19:22:37 +02:00
|
|
|
extraMounts:
|
|
|
|
|
- hostPath: ./infrastructure/kubernetes/encryption
|
|
|
|
|
containerPath: /etc/kubernetes/enc
|
|
|
|
|
readOnly: true
|
2025-11-27 15:52:40 +01:00
|
|
|
# Port mappings for local access
|
2025-09-27 22:55:42 +02:00
|
|
|
extraPortMappings:
|
2026-01-08 19:25:52 +01:00
|
|
|
# HTTP ingress - nginx ingress controller uses hostPort: 80
|
|
|
|
|
- containerPort: 80
|
2025-09-27 22:55:42 +02:00
|
|
|
hostPort: 80
|
|
|
|
|
protocol: TCP
|
2026-01-08 19:25:52 +01:00
|
|
|
# HTTPS ingress - nginx ingress controller uses hostPort: 443
|
|
|
|
|
- containerPort: 443
|
2025-09-27 22:55:42 +02:00
|
|
|
hostPort: 443
|
|
|
|
|
protocol: TCP
|
2025-09-28 13:54:28 +02:00
|
|
|
# Direct frontend access (backup)
|
|
|
|
|
- containerPort: 30300
|
|
|
|
|
hostPort: 3000
|
|
|
|
|
protocol: TCP
|
|
|
|
|
# Direct gateway access (backup)
|
|
|
|
|
- containerPort: 30800
|
|
|
|
|
hostPort: 8000
|
2025-11-14 20:27:39 +01:00
|
|
|
protocol: TCP
|