Repository navigation
Description
I have done the following
- I have searched the existing issues
- If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
Use the recommended kernel (container system kernel set --recommended, 6.18.35),
then follow "Example: Cilium" in docs/kubernetes.md:
helm repo add cilium https://helm.cilium.io/
helm repo update
helm template cilium cilium/cilium --version 1.20.1 --namespace kube-system --set ipam.mode=kubernetes > cilium.yaml
container k8s create --name cilium-demo --cni ./cilium.yamlThen test egress from a pod:
kubectl --context cilium-demo run t --image=busybox:1.37 --restart=Never --rm -i -- nslookup example.com
kubectl --context cilium-demo run t --image=busybox:1.37 --restart=Never --rm -i -- wget -qO- -T5 http://1.1.1.1Problem description
The cluster looks healthy,
k8s createexits 0.- All pods are Running.
- Cluster DNS works.
but pods cannot reach anything outside the cluster.
- External DNS and internet by IP time out.
- CoreDNS cannot reach its upstream:
read udp 10.244.0.53:45400->192.168.64.1:53: i/o timeout
Cause: the kernel has no CONFIG_NETFILTER_XT_MATCH_SOCKET.
See in Cilium agent logs:
level=error msg="iptables rules full reconciliation failed, will retry another one later"
error="failed to install rules: cannot install static proxy rules: unable to run
'iptables -t mangle -A CILIUM_PRE_mangle -m socket --transparent ...'
stderr=\"Warning: Extension socket revision 0 not supported, missing kernel module? ...\""
Expected: the documented example gives a working cluster, or the docs say what is missing.
Environment
- OS: macOS 27.0.1 (26A434)
- Xcode: 27.0 (27A266a)
- Container: container CLI version 1.5.0 (build: release, commit: d265d66)
- Kernel: 6.18.35 (vmlinux-6.18.35-197-debug, the recommended kernel for 1.5.0)
- Cilium: 1.20.1 (Helm chart, as in the docs).Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-][Bug]: Cilium example in docs/kubernetes.md: pods have no egress[/-][+][Bug]: Cilium example in docs/kubernetes.md[/+][-][Bug]: Cilium example in docs/kubernetes.md[/-][+][Bug]: K8s CNI with Cilium example in docs/kubernetes.md[/+][-][Bug]: K8s CNI with Cilium example in docs/kubernetes.md[/-][+][Bug]: k8s CNI with Cilium example in docs/kubernetes.md[/+][-][Bug]: k8s CNI with Cilium example in docs/kubernetes.md[/-][+]docs: k8s CNI with Cilium example in docs/kubernetes.md[/+]