> 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/technical-reference/crds/UPFLBConfig.md).

# UPFLBConfig definition

The `UPFLBConfig` Custom Resource (CR) configures the User Plane Function (UPF) load balancer (UPF-LB) of a Fast Path Provider (FPP) instance on the Core Cluster.
A `CGWDeployment` with **spec.upflbConfig** creates this object.
See [Set up UPF load balancing](https://docs.cennso.com/components/fpp/3.2/deployment-guides/upflb.md) for an overview of the feature.

> [!IMPORTANT]
> UPF load balancing is an alpha feature and is not suitable for production deployments.

## Configuration examples

This example connects UPF-LB to a NATS JetStream key-value (KV) bucket and defines two Network Instances (NWIs), `epc` of type `access` and `sgi` of type `sgi`:

```yaml
apiVersion: fpp-manager.cennso.com/v1alpha1
kind: UPFLBConfig
metadata:
  name: fpp-cgw-lb-0
  namespace: cgw-system
spec:
  nats:
    url: nats://nats.nats-system:4222
    bucket: upflb
  nwis:
  - name: epc
    interface: access
    externalTableID: 10
    internalTableID: 20
    ownIP: 198.51.100.20
  - name: sgi
    interface: sgi
    externalTableID: 30
    internalTableID: 40
  uePools:
  - nwiName: sgi
    cidr: 203.0.113.0/25
  interfaces:
  - access
  - access-internal
  - sgi
  - sgi-internal
```

## Configuration parameters

These are all parameters that you can use to configure the `UPFLBConfig` CR:

**CRD specification:** [fpp-manager.cennso.com_upflbconfigs.yaml](https://docs.cennso.com/api/spec/components/fpp/3.2/assets/crds/vpp-operator/fpp-manager.cennso.com_upflbconfigs.yaml?form=bundled&kind=crd)
