Inspect endpoint internals

Dump full endpoint state: identity, policy enforcement, BPF maps; run inside cilium pod

cilium-dbg endpoint get <id> -o json | jq '.status.policy'

tool
cilium23 commands
tags
ciliumdebugk8snetwork

More cilium commands

  • cilium-dbg bpf lb list

    List service VIP-to-backend mappings in BPF; verify kube-proxy-free LB programming

  • cilium-dbg bpf ct list global | head

    Inspect BPF connection-tracking entries; spot stale/leaking flows on a node

  • cilium-dbg policy trace --src-identity <id> --dst-identity <id> --dport <port>

    Explain allow/deny verdict between two security identities; debug NetworkPolicy drops

  • cilium status --verbose

    Full per-node health: datapath mode, IPAM, BPF maps, controllers; first stop on issues

  • hubble observe --protocol tcp --from-pod <ns>/<pod> --to-fqdn '*.example.com'

    Live L3/L7 flows from a pod to a DNS name; validate FQDN-based egress policy

all 23 cilium commands