Binary install with package manager

Installing Felix

There are several ways to install Felix.

  • If you are running Ubuntu 14.04 or 16.04, you can install from our PPA:

    sudo add-apt-repository ppa:project-calico/calico-3.10
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install calico-felix
  • If you are running a RedHat 7-derived distribution, you can install from our RPM repository:

    cat > /etc/yum.repos.d/calico.repo <<EOF
    name=Calico Repository
    yum install calico-felix

Until you initialize the database, Felix will make a regular log that it is in state “wait-for-ready”. The default location for the log file is /var/log/calico/felix.log.

Initializing the etcd database

You should configure a node resource for each host running Felix. In this case, the database is initialized after creating the first node resource. For a deployment that does not include the Calico/BGP integration, the specification of a node resource just requires the name of the node; for most deployments this will be the same as the hostname.

calicoctl create -f - <<EOF
- apiVersion:
  kind: Node
    name: <node name or hostname>

The Felix logs should transition from periodic notifications that Felix is in the state wait-for-ready to a stream of initialization messages.