Create k3d custom image with BPF volume mount mounted:
Create cluster:
k3d cluster create --config k3d-config.yaml
Since k3d has a particular need for a custom BPF volume mount command, i'm running on a customized CLI with this changes.
For this cluster, i'm following the strict kube-proxy replacement doc.
Install Cilium to cluster with strict replacement for kube-proxy:
cilium install --version 1.10.3 \
--config kube-proxy-replacement=strict \
--config enable-bandwidth-manager=true
Install tuned Cilium following this doc.
cilium install --version 1.10.3 \
--config kube-proxy-replacement=strict \
--config tunnel=disabled \
--config install-no-conntrack-iptables-rules=true \
--config enable-bandwidth-manager=true \
--config native-routing-cidr="10.244.0.0/16" \
--config auto-direct-node-routes=true \
--config node-port-mode=hybrid \
--config node-port-acceleration=native
To troubleshoot, there is an extensive doc on how to do so.
kubectl create ns cilium-test
kubectl apply --namespace=cilium-test -f connectivity-check.yaml