Quick StartΒΆ

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.

  1. Mount the BPF filesystem on all k8s worker nodes. There are many ways to achieve this, see section Mounting the BPF FS for more details.
mount bpffs /sys/fs/bpf -t bpf
  1. Download the DaemonSet template cilium.yaml and specify the etcd address:
$ wget https://raw.githubusercontent.com/cilium/cilium/HEAD/examples/kubernetes/1.8/cilium.yaml
$ vim cilium.yaml
[adjust the etcd address]
$ wget https://raw.githubusercontent.com/cilium/cilium/HEAD/examples/kubernetes/1.9/cilium.yaml
$ vim cilium.yaml
[adjust the etcd address]
$ wget https://raw.githubusercontent.com/cilium/cilium/HEAD/examples/kubernetes/1.10/cilium.yaml
$ vim cilium.yaml
[adjust the etcd address]
$ wget https://raw.githubusercontent.com/cilium/cilium/HEAD/examples/kubernetes/1.11/cilium.yaml
$ vim cilium.yaml
[adjust the etcd address]
$ wget https://raw.githubusercontent.com/cilium/cilium/HEAD/examples/kubernetes/1.12/cilium.yaml
$ vim cilium.yaml
[adjust the etcd address]
  1. Deploy cilium with 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.