
Quick workflow
- Add the Cilium Helm repository to your local Helm configuration.
- (Optional) Dump and edit the chart defaults into a values.yaml to customize behavior.
- Ensure CRDs required by the chart are installed (some chart versions separate CRDs).
- Install the Cilium chart into the target namespace (create it or use —create-namespace).
- Inspect the rendered manifests and verify Kubernetes resources are running.
Prerequisites
- Helm v3 installed and configured.
- kubectl configured for the target cluster.
- Sufficient cluster privileges (cluster-admin or equivalent) to create cluster-scoped resources and CRDs.
Add the Cilium Helm repository and prepare values
Run these commands to add the official Cilium chart repo and fetch the default values for editing:- Edit values.yaml to customize things like operator settings, IPAM mode, enabling Hubble, kube-proxy replacement, node init settings, or image overrides.
- If you want the chart defaults, skip creating or editing values.yaml and install directly.
CRDs: important note
Some Cilium chart versions separate CRDs from the main chart. If the chart requires CRDs to be installed separately, apply the CRD manifests or install the cilium-crds chart before installing the main cilium chart. Helm’s automatic CRD handling can vary by chart version.
Install the Cilium chart
Install Cilium into the kube-system namespace (or your preferred namespace). Create the namespace first or use —create-namespace:-f values.yaml to use the chart defaults.
Inspect the generated manifests and verify resources
To review what Helm rendered and applied:Common commands reference
| Task | Command / Example | |
|---|---|---|
| Add Cilium Helm repo | helm repo add cilium https://helm.cilium.io | |
| Show chart default values | helm show values cilium/cilium > values.yaml | |
| Install Cilium | helm install cilium cilium/cilium --namespace kube-system -f values.yaml | |
| Get rendered manifest | helm get manifest cilium -n kube-system | |
| List Cilium workloads | kubectl get pods,ds,svc -n kube-system -l k8s-app=cilium | |
| Verify CRDs | `kubectl get crds | grep cilium` |
Links and references
You can skip creating a values.yaml to use all chart defaults, or generate and edit the values.yaml to apply non-default configuration changes before installing.Ensure you have appropriate cluster permissions (cluster-admin or equivalent) when installing Cilium, since it creates cluster-wide resources and CRDs.