Commands Cheat Sheet

Evaluating engineering tools? Get the comparison in Google Sheets

(Perfect for making buy/build decisions or internal reviews.)

Most-used commands
Your email is safe thing.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

Installation & Setup

helm repo add cilium https://helm.cilium.io/
Add Cilium Helm repository

helm install cilium cilium/cilium --namespace kube-system
Install Cilium in Kubernetes

cilium version
Check Cilium version

cilium status
Check Cilium status

Cluster Connectivity

cilium connectivity test
Run connectivity test between pods

cilium connectivity validate
Validate network policies

Observability Commands

cilium monitor
Monitor traffic and events in real-time

cilium monitor --type drop
Monitor only dropped packets

cilium monitor --type trace
Monitor packet traces

cilium monitor --type debug
Monitor debug events

Endpoint Management

cilium endpoint list
List all endpoints

cilium endpoint get [endpoint-id]
Get detailed information about an endpoint

cilium endpoint labels [endpoint-id]
Show labels of an endpoint

cilium endpoint regenerate [endpoint-id]
Force regeneration of endpoint

Policy Management

cilium policy get
Get all policies

cilium policy import [filename]
Import a policy from file

cilium policy delete [policy-id]
Delete a policy

cilium policy trace -s [source] -d [destination]
Trace policy decision between endpoints

Service Management

cilium service list
List services

cilium service get [service-id]
Get details about a service

cilium service delete [service-id]
Delete a service

Troubleshooting

cilium debuginfo
Collect agent & system information for troubleshooting

cilium bpf proxy list
List proxy redirection entries

cilium bpf tunnel list
List tunnel endpoints

cilium bpf ct list [endpoint-id]
List connection tracking entries for endpoint

cilium cleanup
Clean agent state

Hubble Commands

hubble observe
Observe flows using Hubble

hubble observe --from-pod kube-system/pod-name
Observe flows from specific pod

hubble observe --to-namespace default
Observe flows to namespace

hubble observe --protocol tcp --port 80
Filter flows by protocol and port

hubble status
Check Hubble status