If you know what you are doing, then the following quick instructions get you started in the shortest time possible. If you require additional details or are looking to customize the installation then read the remaining sections of this chapter.
- Mount the BPF filesystem on all k8s worker nodes. There are many ways to achieve this, see section Mounting the BPF FS (Optional) for more details.
mount bpffs /sys/fs/bpf -t bpf
- Download the
cilium.yamland specify the etcd address:
$ wget https://raw.githubusercontent.com/cilium/cilium/HEAD/examples/kubernetes/cilium.yaml $ vim cilium.yaml [adjust the etcd address]
Optional: If you want to adjust the MTU of the pods, define the
variable in the
env: - name: "MTU" value: "8950"
ciliumwith your local changes
$ kubectl create -f ./cilium.yaml clusterrole "cilium" created serviceaccount "cilium" created clusterrolebinding "cilium" created configmap "cilium-config" created secret "cilium-etcd-secrets" created daemonset "cilium" created $ kubectl get ds --namespace kube-system NAME DESIRED CURRENT READY NODE-SELECTOR AGE cilium 1 1 1 <none> 2m
You have cilium deployed in your cluster and ready to use.