Skip to main content
Version: 3.18 (latest)

Custom BGP configuration

Big picture

Customize BGP configurations for special use-cases.

caution

Customizing BGP configuration templates is not supported by Tigera for production because they are not guaranteed to work when upgrading. However, if you want to use custom templates for POCs and other temporary uses cases, contact your Tigera Support representative for help.

Concepts

In Calico Enterprise, BGP is handled by BIRD. The BIRD configurations are templated out through confd. You can modify the BIRD configuration to use BIRD features which are not typically exposed using the default configuration provided with Calico Enterprise.

Before you begin

Required

  • Calico CNI

How to

Update BGP configuration

Using the directions provided with the templates, set the correct values for the BGP configuration using these resources:

Apply BGP Customizations

  1. Create your confd templates.
  2. Create a ConfigMap from the templates.
kubectl create configmap bird-templates -n tigera-operator --from-file=<path to directory of templates>

The created config map will be used to populate the Calico Enterprise BIRD configuration file templates. If a template with the same name already exists within the node container, it will be overwritten with the contents from the config map.