Skip to main content
This documentation is designed to get you up and running with Talos and Calico CNI. Since both Calico and Talos support multiple networking technologies, you will learn how to run your environment with both the Calico eBPF dataplane and NFTables. Optionally, you can also enable Calico’s network observability stack to gain insights into your cluster networking and policy behavior.

Configuring Talos

To install Calico, you first need to disable the default CNI. This can be done by applying a patch file during cluster creation.
After generating the patch file add the --config-patch argument to your talosctl gen config.

Installation using Omni

If you are using Omni, you can deploy Calico using the manifest sync feature in a cluster template. Step 1. Download the Tigera operator manifest:
Step 2. Create an installation.yaml file with your desired Calico configuration. Choose the dataplane that fits your use case:
Step 3. Reference both manifests in your Omni cluster template: Step 4. Apply the cluster template:
Omni will wait until the Kubernetes API is available and the cluster is healthy before applying the manifests. See Sync Kubernetes Manifests for more details on manifest sync modes and status monitoring.

Installing Tigera operator

Recommended way to install Calico is via Tigera-operator manifest. The operator will make sure that all Calico components are always up and running.
Note: If you’d like to install Calico using Helm, check out the Install using Helm documentation.
Step 1. Install the latest Tigera operator.

Step 2. Configure Calico networking

Calico has a pluggable dataplane architecture that lets you choose the networking technology based on your use case. You can configure the dataplane by setting the linuxDataplane key in the installation manifest.
Note: To learn more about the available Calico configurations, check out the Installation reference documentation.
Use the following command to run Calico with NFTables backend.

Deploy Calico Whisker network observability stack

Use the following command to enable Calico observability stack:
Use the following command to access Calico Whisker:
Fire up a browser and point it to localhost:8081 to observe your policies and network flows.

Next steps

  • Enable Calico Prometheus and Grafana integrations, click here to learn more.

Considerations

In eBPF mode, if you cannot disable kube-proxy for any reason please make sure to adjust BPFKubeProxyIptablesCleanupEnabled to false. This can be done with kubectl as follows: