Deploy Fast Path Provider on a single node
This tutorial describes how to install and configure Fast Path Provider (FPP) on one node to provide a basic network layer for other Travelping CNFs. You can install FPP either on a single node or on multiple nodes, however, one-node deployment is suitable only for testing purposes and doesn't provide cross-node connectivity.
Prerequisites
Terminology used in the installation document:
- FPP node - FPP pod in the
nodemode, which acts as a virtual switch on each Data Plane node
Steps
Deploy FPP in the node mode by creating an FPPDeployment CR on the Management Cluster. This CR deploys FPP components to the Core Cluster.
Minimal example
Basic configuration options
The following sections describe the basic configuration options for the FPPDeployment CR:
-
spec.connectionSecretRef parameter specifies the Core Cluster reference, where the FPP node will be deployed
-
spec.operatorName or spec.operatorRef parameter designates which VPP Operator will handle the FPP node deployment.
- spec.operatorRef references a
VPPOperatorresource on the Management Cluster to resolve the operator name for the VPP Operator deployed in the Core Cluster. - spec.operatorName directly specifies the name of the VPP Operator. This name must match the spec.releaseName of the target VPPOperator.
- spec.operatorRef references a
-
spec.version parameter specifies the FPP Helm chart version
-
To specify the Helm chart repository, use spec.repository. It will download the
fppchart from the specified URL.yaml -
To overwrite the VPP Worker image, use spec.image option, where you can specify container repository and tag:
yaml -
By default, the
cennso-pull-secretis used to pull the VPP Worker image. To download a container image from a repository other than the Cennso private repository, configure spec.imagePullSecrets:yamlInstead of using an image pull secret, you can use a preconfigured service account:
yaml -
You can specify an optional log level with spec.logLevel:
yamlTo enable more verbose logging, VPP API calls (on the internal intermediate VPPLink level) can be logged:
yaml -
If you want to run the FPP node on a specific node, use spec.nodeSelector:
yamlYou can also use spec.affinity to define Kubernetes affinityOpens in a new tab terms:
yaml -
You can configure the number of buffers per NUMA for optimal performance and memory consumption using spec.buffersPerNuma:
yaml -
The spec.resources and spec.useHugepages parameters set the amount of resources for the FPP node pod:
yaml
Verification
After creating FPPDeployment, you can see the status of the deployment using the kubectl command on the Management Cluster:
Sample output:
You can also check if the FPP node deployment is created on the Core Cluster:
See the sample output below. READY set to true means that VPP pods are up and running: