Files
bakery-ia/kind-config.yaml

49 lines
1.4 KiB
YAML
Raw Normal View History

2025-09-27 22:55:42 +02:00
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: bakery-ia-local
nodes:
- role: control-plane
# 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"
# Increase max pods for development environment
max-pods: "200"
2025-10-19 19:22:37 +02:00
- |
kind: ClusterConfiguration
# 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
# 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
# Port mappings for local access
2025-09-27 22:55:42 +02:00
extraPortMappings:
# HTTP ingress - nginx ingress controller uses hostPort: 80
- containerPort: 80
2025-09-27 22:55:42 +02:00
hostPort: 80
protocol: TCP
# 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