Files
swaphb 6c79340d9a
Kube-bench CIS scan / Scan ephemeral K3s cluster (push) Successful in 1m3s
add environment-specific cilium profiles
2026-08-16 20:04:14 -04:00

22 lines
812 B
YAML

# Nested k3d profile.
# k3d nodes are Docker containers sharing a directly reachable bridge network.
# Native routing avoids the nested VXLAN service path that previously blocked
# pod access to ClusterIP services.
routingMode: native
autoDirectNodeRoutes: true
# K3s allocates pod addresses from this cluster-wide CIDR. Native routing
# requires the CIDR so Cilium can distinguish pod traffic from underlay traffic.
ipv4NativeRoutingCIDR: 10.42.0.0/16
# Nested nodes need BPF masquerading for return traffic across the Docker
# bridge. Keep socket load-balancing in the node namespace for this profile.
bpf:
masquerade: true
socketLB:
hostNamespaceOnly: true
# Ansible supplies k8sServiceHost and k8sServicePort during bootstrap because
# the published workstation port is dynamically allocated by k3d.