> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/fpp/3.2/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/fpp/3.2/concepts/FPPDeployment.md).

# FPPDeployment

The [`FPPDeployment`](https://docs.cennso.com/components/fpp/3.2/technical-reference/crds/FPPDeployment.md) Custom Resource (CR) is applied on the Management Cluster and deploys FPP node VPP switches in the Core Cluster.

## Compositions

`FPPDeployment` supports multiple deployment compositions, each tailored for a specific uplink driver:

| Composition | Description |
|---|---|
| **fpp-generic** (default) | A generic composition that supplies all configuration through Helm values, ideal for advanced or custom setups. |
| **fpp-af-xdp** | Utilizes the AF_XDP driver with a macvlan network attachment, making it ideal for environments without SR-IOV support. This composition automatically provisions the necessary `NetworkAttachmentDefinition`.|
| **fpp-dpdk** | Utilizes DPDK/SR-IOV uplinks and requires both the SR-IOV Network Operator and Multus CNI. This composition provides a structured bonding configuration for uplink interfaces. |

You can select the composition when creating the `FPPDeployment` resource using the **spec.compositionRef.name** field, or via the Cennso Management Console form.

## Minimal example

```yaml
apiVersion: fpp.cennso.com/v1alpha1
kind: FPPDeployment
metadata:
  name: example-fpp
  namespace: cennso-infra
spec:
  version: <version>
  connectionSecretRef:
    name: example-core-cluster
    namespace: cennso-infra
  operatorName: vpp-operator
```

## Required parameters

To deploy an FPP node in the Core Cluster, you must specify at least these parameters:
- **spec.connectionSecretRef** - References the name and namespace of the Secret containing connection details (kubeconfig) for the Core Cluster where the FPP node will be deployed.
- **spec.operatorRef** or **spec.operatorName** - specifies the VPP Operator deployed in the Core Cluster:
   - **spec.operatorRef** references a `VPPOperator` resource 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](https://docs.cennso.com/components/fpp/3.2/concepts/VPPOperator.md).

For more information on running multiple operator instances, refer to the [Multiple VPP Operators guide](https://docs.cennso.com/components/fpp/3.2/deployment-guides/multiple-vpp-operators.md).

The **spec.targetNamespace** parameter allows you to customize the namespace of the FPP instance in the target cluster. By default, the namespace is `fpp`.
