For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading User Plane Gateway 2.16, an older release. The newest release is 3.2. Read this page in 3.2

User Plane Gateway 2.16.0

Release date: 2025-02-21

The new release of User Plane Gateway (UPG) provides the following features and improvements:

  • Added NATS integration
  • Support for MEMCAP updated stream metadata
  • Prometheus ServiceMonitor relabelings and metricRelabelings
  • Added poll sleep for VPP

UPG uses Fast Path Provider (FPP) in version 1.3.21 and UPG-VPP in version 1.22.0.

There are no breaking changes in UPG CRD between 2.16.0 and 2.15.0.

Features

Added NATS integration

UPG can fetch configuration using the NATS Key-Value store. As the first option, the MEMCAP plugin can be configured using NATS. You can create or delete streams using binAPI and targets defined in NATS.

This is equivalent to CLI configuration vppctl set interface memcap {INTERFACE} target {TARGET}. The CLI can be used in parallel to the binAPI calls.

UPG watches for key com.cennso.memcap.v1alpha1.trafficstream.name.*.cluster.{CLUSTER}.>, where CLUSTER is taken from the configuration or NATS server connection info.

To enable NATS Key-Value watcher, use the following configuration in UPG Helm chart:

yaml

Support for MEMCAP updated stream metadata

UPG 2.16.0 includes the MEMCAP plugin that extends the range of stream metadata available for NATS integration.

The stream labels can be configured using envs in the UPG chart, each name should be capitalised and start with the MEMCAP_ prefix:

yaml

Prometheus ServiceMonitor relabelings and metricRelabelings

New parameters prometheus.servicemonitor.relabelings and prometheus.servicemonitor.metricRelabelings were added to the UPG Support chart.

  • prometheus.servicemonitor.relabelings allows you to modify or filter the discovered targets during service discovery. You can use it to rename labels, drop unnecessary targets, or add custom labels to organise and filter targets more effectively.
  • prometheus.servicemonitor.metricRelabelings enables customisation of metrics after scraping. You can filter out the unwanted metrics, rename labels or metrics, and add extra labels to make metrics easier to identify and analyse.

These options give you more control over Prometheus monitoring and help customise the metrics collection for your needs.

Added poll sleep for VPP

When running VPP in local test environments or on CI for non-performance-related test cases, it’s often handy to run it with poll sleep to prevent VPP from consuming 100% CPU and lessening the resource requirements.

To enable interrupt mode, use the UPG helm chart configuration:

yaml

Known issues

Number of Rx/Tx queues and buffer/queue size can't 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 are left over in the VPP routing table. Sample entry:

text

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

Note

It is recommended to use bgp.table different than 200.

Migration guide

This section describes in detail how to perform the UPG upgrade from version 2.15.0 to 2.16.0.

Caution

Updating the UPG Helm chart restarts the currently running UPG instance, causing all active sessions to be dropped. Moreover, UPG 2.16.0 requires the following component versions:

  • FPP CRD in version 2.4.0 or higher installed on the Kubernetes cluster
  • TSR Sink in version 2.0.0 or higher as an IPFix receiver

To use the CNI-less feature, you need FPP in version 2.2.0 or higher installed on the Kubernetes cluster.

Follow these steps to upgrade UPG to version 2.16.0:

  1. Install the upg-crd Helm chart in version 2.16.0.
  2. Ensure that FPP CRD in version 2.4.0 or higher is installed on the Kubernetes cluster.
  3. Remove the upg-support Helm chart in version 2.15.0. This also removes the UPG Overview Grafana dashboard.
  4. Install the upg-support Helm chart in version 2.16.0 with the enabled dashboard.
  5. Remove the upg Helm chart in version 2.15.0.
  6. Install the upg Helm chart in version 2.16.0.