Installation From Source¶
If for some reason you do not want to run Cilium as a container image. Installing it from source is possible as well. It does come with additional dependencies described in System Requirements.
$ go get -u github.com/cilium/go-bindata/...
Add $GOPATH/bin to your $PATH:
$ # To add $GOPATH/bin in your $PATH run $ export PATH=$GOPATH/bin:$PATH
You can also add it in your
if [ -d $GOPATH/bin ]; then export PATH=$PATH:$GOPATH/bin fi
- Download & extract the latest Cilium release from the ReleasesPage
$ go get -d github.com/cilium/cilium $ cd $GOPATH/src/github.com/cilium/cilium
- Build & install the Cilium binaries to
$ git checkout v1.1.0 $ # We are pointing to $GOPATH/bin as well since it's where go-bindata is $ # installed $ make build $ sudo make install
- Optional: Install systemd init files:
sudo cp contrib/systemd/*.service /lib/systemd/system sudo cp contrib/systemd/sys-fs-bpf.mount /lib/systemd/system sudo mkdir -p /etc/sysconfig/cilium && cp contrib/systemd/cilium /etc/sysconfig/cilium service cilium start