User Plane Gateway 2.10.0
Release date: 2024-07-19
The new release of User Plane Gateway (UPG) provides the following features and improvements:
- Bump VPP version to FPP-VPP 24.02.3
- Simplified creation of routing tables in VPPConfig
- Fix security issues
- Fix the loops_per_second metric
UPG uses Fast Path Provider (FPP) in version 1.3.14 and UPG-VPP in version 1.16.0.
There are no breaking changes in UPG CRD between 2.10.0 and 2.9.0.
Features
Bump VPP version to FPP-VPP 24.02.3
UPG 2.10.0 introduces a new VPP version: FPP-VPP 24.02.3. It has been upgraded from FPP-VPP 22.10.X. It allows you to maintain up-to-date features, fixes and security patches in upstream VPP.
Simplified creation of routing tables in VPPConfig
Previously, you manually created the required routing tables as CLI commands in the spec.afterCommands section in the VPPConfig custom resource (CR). With this release, you can create the required routing tables by providing a list of routing table IDs in the spec.routingTables section. This creates empty routing tables for both IPv4 and IPv6.
See the example of the new configuration:
Fixes
Fix security issues
UPG 2.10.0 uses a new version of Golang - 1.22.4. This fixes the CVEs in the Golang codebase and libraries.
Fix the loops_per_second metric
In previous releases, the loops_per_worker metric was wrongly scraped and always showed the value 0.
UPG 2.10.0 fixes this issue and adds per VPP worker thread label to this metric, for example: vpp_sys_loops_per_second{index="0",thread="0"} 1.
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.
Migration guide
This section describes in detail how to perform the FPP upgrade from version 2.9.0 to 2.10.0.
Caution
Updating the UPG Helm chart restarts the currently running UPG instance, causing all active sessions to be dropped. Moreover, UPG 2.9.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.10.0:
- Install the
upg-crdHelm chart in version 2.10.0. - Ensure that the FPP CRD in version 2.4.0 or higher is installed on the Kubernetes cluster.
- Remove the
upg-supportHelm chart in version 2.9.0. This also removes theUPG OverviewGrafana dashboard. - Install the
upg-supportHelm chart in version 2.10.0 with the enabled dashboard. - Remove the
upgHelm chart in version 2.9.0. - Install the
upgHelm chart in version 2.10.0.