Common prerequisites and steps for deploying Fast Path Provider
Fast Path Provider (FPP) is delivered as Helm charts that provide you all necessary Custom Resource Definitions (CRDs) that you can use to configure FPP.
Common prerequisites
You can deploy FPP in various modes, but some prerequisites are common for all:
- Cennso installed on a Kubernetes cluster
- Hugepages enabled
- Uplink connectivity
- cert-manager installedOpens in a new tab
- CNI v1.1.1+ with the static pluginOpens in a new tab
HugePages
Check the HugePages section of the Data Plane configuration guide for more details.
Uplink configuration
VPPSwitch uses DPDK-enabled uplink interfaces. It is required for the DPDK driver to use an IOMMU-enabled platform with isolation of IOMMU groups - for processor-based (northbridge) PCI root ports and controller hub-based (southbridge) PCI root ports. This is called Access Control Service (ACS) capabilities.
Two types of uplink interfaces are supported:
To assign an IP address for uplinks, you can use an IPAM plugin, such as Whereabouts, or you can specify IP manually by VPPConfig spec.uplinkConfig.ips.
Enable IOMMU
Check the GRUB section of the Data Plane configuration guide for more details.
IPAM for uplinks
Unless you use FPP on a single node, you must provide uplink IPs. It can be done in the pod annotation in the same format as that provided by Multus CNIOpens in a new tab for VPPSwitch deployments or in spec.uplinkConfig.ips in VPPConfig.
For SRIOV VFs as uplinks, it's convenient to use WhereaboutsOpens in a new tab CNI IPAM plugin, as described in the Configure the SRIOV Operator step of the Deploy Fast Path Provider on multiple nodes using SRIOV networks as FPP uplinks document. The pod annotation expected by FPP is as follows:
For direct NIC attachment, you can use spec.uplinkConfig.ips in VPPConfig to assign the IPs to the interfaces. A sample excerpt from the values.yaml file:
Common steps
To deploy FPP using Helm charts, follow these common steps:
Install the FPP CRD chart. FPP CRD is a cluster-wide Helm chart that installs the following Custom Resource Definitions:
- FPPNetworks
- IPFixExporters
- RoutingTables
- VPPConfigs
- VPPDeployments
- VPPInterfaces
- VPPTools
- VXLANs
This Helm chart does not require any configuration values.
Install the FPP Operator chart. This chart installs FPP Operator - a central entity responsible for reconciling FPP CR objects and passing them to Amberd pods. Slicing mechanism is introduced to run multiple FPP Operator per cluster. This is the sample configuration you can use to deploy and configure FPP using the
fpp-operatorchart:yamlInstall the FPP Support chart if you want to have Grafana and Prometheus enabled. FPP Support chart chart provides you with the Prometheus ServiceMonitors and Grafana dashboards that contain FPP metrics. This chart provides two dashboards and two ServiceMonitors, one for the FPP
nodemode and second dedicated to the CGW deployment in theinstancemode. You installfpp-supportonly once per cluster.yaml
Next steps
Depending on the goal you want to achieve, follow one of these use cases: