> 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/VPPOperator.md).

# VPPOperator

The [`VPPOperator`](https://docs.cennso.com/components/fpp/3.2/technical-reference/crds/VPPOperator.md) Custom Resource (CR) is applied to the Management Cluster to deploy the VPP Operator within the Core Cluster. Once applied, it handles the operator's installation and automatically manages the associated Kubernetes Custom Resource Definitions (FPP CRDs) and the ServiceMonitor.

## Minimal example

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

## Required parameters

To deploy the VPP Operator in the Core Cluster, you must specify at least these parameters:
- **spec.connectionSecretRef** - references the name and namespace of the Secret that contains connection details for the Core Cluster where the VPP Operator will be deployed.

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

The **spec.releaseName** parameter must be unique for each VPP Operator instance deployed in the cluster. By default, it is `vpp-operator`. This value serves as the identifier for the operator instance.

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).

## Managed components

The `VPPOperator` resource manages the following components:

- **FPP CRDs**: The `VPPOperator` automatically installs the following Custom Resource Definitions on the target Core Cluster (controlled by the `installCRDs` flag, which is `true` by default):
  - FPPNetworks
  - IPFixExporters
  - RoutingTables
  - UPGConfig
  - UPGApplicationSet
  - VPPConfigs
  - VPPDeployments
  - VPPInterfaces
  - VPPTools

- **VPP Operator**: The central entity responsible for reconciling FPP CR objects and passing them to FPP pods. You can configure various aspects like resource limits, log level, and image pull secrets within the `VPPOperator` spec.

- **Observability**: The `VPPOperator` installs Prometheus ServiceMonitors for FPP metrics. These provide visibility into CGW, FPP and UPG deployments. You can disable Service Monitor deployment using **spec.installServiceMonitor** set to `false`.
