Files
bakery-ia/kind-config.yaml

83 lines
2.2 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
2026-01-19 11:55:17 +01:00
# Networking configuration
networking:
podSubnet: "10.244.0.0/16"
serviceSubnet: "10.96.0.0/12"
2025-09-27 22:55:42 +02:00
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
2026-01-19 11:55:17 +01:00
node-labels: "ingress-ready=true,architecture=arm64"
max-pods: "250"
eviction-hard: "memory.available<500Mi,nodefs.available<10%"
fail-swap-on: "false"
2025-10-19 19:22:37 +02:00
- |
kind: ClusterConfiguration
apiServer:
extraArgs:
encryption-provider-config: /etc/kubernetes/enc/encryption-config.yaml
2026-01-19 11:55:17 +01:00
max-requests-inflight: "2000"
max-mutating-requests-inflight: "1000"
2025-10-19 19:22:37 +02:00
extraVolumes:
- name: encryption-config
hostPath: /etc/kubernetes/enc
mountPath: /etc/kubernetes/enc
readOnly: true
pathType: DirectoryOrCreate
2026-01-19 11:55:17 +01:00
controllerManager:
extraArgs:
horizontal-pod-autoscaler-sync-period: "10s"
node-monitor-grace-period: "20s"
scheduler:
extraArgs:
kube-api-qps: "50"
kube-api-burst: "100"
2025-10-19 19:22:37 +02:00
extraMounts:
2026-01-19 11:55:17 +01:00
- hostPath: ./infrastructure/platform/security/encryption
2025-10-19 19:22:37 +02:00
containerPath: /etc/kubernetes/enc
readOnly: true
2026-01-19 11:55:17 +01:00
2025-09-27 22:55:42 +02:00
extraPortMappings:
- containerPort: 80
2025-09-27 22:55:42 +02:00
hostPort: 80
protocol: TCP
2026-01-19 11:55:17 +01:00
listenAddress: "0.0.0.0"
- containerPort: 443
2025-09-27 22:55:42 +02:00
hostPort: 443
protocol: TCP
2026-01-19 11:55:17 +01:00
listenAddress: "0.0.0.0"
2025-09-28 13:54:28 +02:00
- containerPort: 30300
hostPort: 3000
protocol: TCP
2026-01-19 11:55:17 +01:00
listenAddress: "0.0.0.0"
2025-09-28 13:54:28 +02:00
- containerPort: 30800
hostPort: 8000
2026-01-19 11:55:17 +01:00
protocol: TCP
listenAddress: "0.0.0.0"
- containerPort: 30080
hostPort: 30080
protocol: TCP
listenAddress: "0.0.0.0"
- containerPort: 30443
hostPort: 30443
protocol: TCP
listenAddress: "0.0.0.0"
containerdConfigPatches:
- |-
[plugins."io.containerd.grpc.v1.cri"]
sandbox_image = "registry.k8s.io/pause:3.9"
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "overlayfs"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes]
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
runtime_type = "io.containerd.runc.v2"