> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/upg/latest/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/upg/latest/releases/3.0.0.md).

# User Plane Gateway 3.0.0

**Release date**: 2025-12-19

The User Plane Gateway (UPG) 3.0 release introduces a significant change in the deployment model. UPG 3.0 is now a `VPPDeployment` object managed by an external FPP Operator.

Apart from that, the new release provides the following improvements and fixes:

- New deployment option using the `UPGDeployment` object
- External FPP Operator to manage UPG deployment
- Introduce multi-threading support in the UPF plugin
- Use CNI-less interfaces only
- NFR registration for UPG
- Fixed FAR End Marker sending
- Reworked PFCP resources system
- Reworked timers system
- Timeout for NAT port block allocation

There are no breaking changes in UPG CRD between 2.X and 3.0.

## Features

### New deployment option using UPGDeployment object

[UPGDeployment CRD](https://docs.cennso.com/components/upg/latest/concepts/upgdeployment.md) is a new way of installing UPG 3.0. It wraps the UPG 3.0 Helm chart and enables the integration of the UPG resource into higher-level deployment methods using Crossplane compositions.

### External FPP Operator to manage UPG deployment

Since UPG 3.0, UPG requires an external FPP Operator that manages UPG lifecycle using the [`VPPDeployment`](https://docs.cennso.com/cennso/fpp/main/concepts/vppdeployment.md) object. For this reason, you need to provide the FPP Operator name responsible for UPG deployment. In `VPPDeployment`, it should be provided using the `fpp-manager.cennso.com/created-for` label. In the Helm chart and `UPGDeployment` CR, it needs to be provided in the **operatorName** field.

### Introduce multi-threading support in the UPF plugin

The UPG-VPP, also called a UPF plugin, receives a significant enhancement. UPG 3.0 can use multiple cores, which was not possible in UPG 2.0, where only a single core was used for handling user traffic.

This provides better performance and reduces the number of UPG pods required per cluster.

### Use CNI-less interfaces only

In previous UPG releases, you could configure interfaces in two ways:
- Using Network Attachment Definitions with Multus and FPP-CNI
- Creating `VPPInterface` objects directly through the Helm chart

UPG 3.0 supports only a [CNI-less approach](https://docs.cennso.com/components/upg/latest/operation-guides/interface.md#create-interfaces-using-upg-chart), which does not use FPP-CNI. In the CNI-less model, a memif interface in the slave role is created using the Kubernetes API, while the master side of the memif interface is handled by the FPP Operator (using **operatorName** or **nodeOperatorName**).

With this approach, interface configuration now requires specifying **networkName** with the name of an existing `FPPNetwork`.

This change reduces load on the Kubernetes API server and prevents timeouts during pod creation when configuring multiple interfaces per pod.

### NFR registration for UPG

UPG 3.0 now allows you to register the service in the 5G Network Function Registry (NFR). An NSR is a proprietary implementation used to discover services by Session Management Controller (SMC) in version 4.

See the [NFR registration](https://docs.cennso.com/components/upg/latest/concepts/upgdeployment.md#nfr-registration) section for more information.

## Fixes

### Fixed FAR End Marker sending

In previous releases, the FAR End Marker was handled incorrectly and was not sent when requested by a PFCP endpoint. In this release, the FAR End Marker is handled correctly.

### Reworked PFCP resources system

In previous releases, UPG could lose track of global resources such as NAT pools or GTP-U endpoints. To address this, a new system was implemented that tracks resources using reference counting and temporary objects. This change fixes many corner cases in Session Modification Request handling that previously could cause crashes or incorrect traffic processing.

### Reworked timers system

A new unified UPF timers system for URR, flows, and PFCP messaging has been introduced, making the system more robust. It addresses the “timers late” issue more reliably and handles corner cases where multiple PFCP requests occur in a short burst.

### Timeout for NAT port block allocation

NAT port blocks now have a timeout when they can't be reallocated immediately after being removed from a session. This prevents traffic directed to a NAT block of an old session from being received by a newly allocated session, which improves security and session isolation. By default, this timeout is set to `30` seconds.

## Known issues

### Number of Rx/Tx queues and buffer/queue size cannot be modified in the CNI-less feature

As a result of implementing the VPP interface, the current implementation of the CNI-less feature does not allow you to modify the following parameters in the `VPPInterface` object:

- **spec.memif.bufferSize**
- **spec.memif.ringSize**
- **spec.memif.numRxQueues**
- **spec.memif.numTxQueues**

>**CAUTION:** If you want to change one of the parameters above, remove and recreate VPPInterface with a new configuration. This action results in restarting UPG.

### Using BGP table 200 leaves leftovers in the VPP routing table

When configuring BGP support with the same table as SGI (`200`), the UE IPs remain in the VPP routing table. Sample entry:

```
10.24.144.244/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:80 buckets:1 uRPF:181 to:[6:504]]
    [0] [@0]: dpo-drop ip4
```

This does not influence traffic forwarding for the created UPF sessions, but increases the number of entries in the SGI VPP routing table.

>**IMPORTANT:** It is recommended to use **bgp.table** different than `200`.

### UI availability

The `UPGDeployment` object cannot be created through Cennso Management Console (CMC).

### FPP Operator known issues

For more information on FPP Operator known issues, read the [dedicated document](https://docs.cennso.com/cennso/fpp/main/releases/3.0.0.md#known-issues).

## Migration guide

This section describes how to upgrade UPG from version 2.x to 3.0.0.

>**IMPORTANT:** Updating UPG to version 3.0 requires stopping user traffic. Live update is not available.

This guide assumes that you have a running Core Cluster connected to the Management Cluster. Also, UPGs on the Core Cluster were installed using Helm charts. The new UPG deployment uses Cennso extensions. The steps below show how to port the configuration from the chart to the UPG extension object.

To upgrade UPG to version 3.0.0, follow these steps:

1. Perform FPP upgrade, described in the [FPP 3.0 migration guide](https://docs.cennso.com/cennso/fpp/main/releases/3.0.0.md#migration-guide). This includes removing all UPGs.
1. On the Management Cluster, create the `UPGDeployment` object, which installs a UPG instance on the selected Core Cluster.

   To properly configure UPGDeployment, take the **upg** chart values, modify them, and use them as a `UPGDeployment` **spec**.

   Here are the required modifications of the UPG chart configuration:
   - Add **connectionSecretRef**, which points to the Core Cluster name and namespace where the UPG should be installed.
   - Set the **operatorName** field with the name of the VPP Operator installed in the Core Cluster. It is the same as VPPOperator CR **spec.releaseName**.
   - Set the **targetNamespace** to deploy UPG in the given namespace on the Core Cluster. If not set, `basic-pgw` is used.
   - Add the required **networkName** per GRX/SGI/SX interface configuration, the **instances.<name>.networking.grx/sgi/sx.vni** was removed.
   - The **additionalNetworks** option is no longer supported. Create instead `VPPInterface` objects with the `fpp-manager.cennso.com/plumbing-instance` label set to the UPG deployment name.
   - Since the **envs** Helm chart option is not available in `UPGDeployment`, move additional configuration to the appropriate **spec** sections:
     - VPP config, such as `FPP_DEFAULT_DATA_SIZE`, to **spec.defaultDataSize**
     - Netcap labels to **spec.vpp.netcapLabels**

   Configuration examples:
   - [Basic PGW deployment](https://docs.cennso.com/components/upg/latest/deployment-guides/pgw.md)
   - [CGNAT deployment](https://docs.cennso.com/components/upg/latest/deployment-guides/cgnat.md)
