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/jteeuwen/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 v0.11 $ # We are pointing to $GOPATH/bin as well since it's where go-bindata is $ # installed $ make $ sudo make install
- Optional: Install upstart/systemd init files:
sudo cp contrib/upstart/* /etc/init/ service cilium start 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