Binary install with package manager
Packaged binaries of Calico are easy to consume and upgrade. This method automatically configures the init system to keep Felix running.
- Ensure the Calico datastore is up and accessible from the host
- Ensure the host meets the minimum
- If you want to install Calico with networking (so that you can communicate with cluster workloads), you should choose the container install method
- Install (for Kubernetes datastore) or for etcd3 datastore.
This guide covers installing Felix, the Calico daemon that handles network policy.
PPA requires: Ubuntu 14.04 or 16.04
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
.
Use the following guidelines and sample file to define the environment variables for starting Calico on the host. For more help, see the
- Kubernetes datastore
- etcd datastore
For a Kubernetes datastore (default) set the following:
For either datastore set the following:
Sample EnvironmentFile
- save to /etc/calico/calico.env
Modify the included init system unit to include the . For example, on systemd, add the following line to the [Service]
section of the calico-felix
unit.
The Felix logs should transition from periodic notifications that Felix is in the state to a stream of initialization messages.