Open-Source Wikis

/

Cilium

/

Packages

cilium/cilium

Packages

There are roughly 120 subdirectories under pkg/. Most are small focused libraries; the ones below are the high-impact packages that recur across the codebase. Other packages are documented inline in the apps/systems/features pages that consume them.

Package Description
pkg/hive and statedb Dependency injection + transactional in-memory tables.
pkg/bpf and pkg/maps BPF map abstraction and the typed wrappers around each map.
pkg/policy Policy compilation pipeline.
pkg/endpoint and endpointmanager Per-pod state machine.
pkg/k8s Kubernetes client, watchers, CRDs.
pkg/identity Identity allocation + caches.
pkg/ipam Pod IP allocation across modes.
pkg/loadbalancer Service abstraction + reconciler.
pkg/proxy and pkg/envoy L7 redirect runtime + Envoy supervisor.
pkg/clustermesh and pkg/kvstore Multi-cluster identity / service propagation.
Other utilities Cross-cutting helper packages (lock, logging, metrics, controller, ...).

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Packages – Cilium wiki | Factory