UPG Manager v2.0.0 Release Notes
Glossary
Terms used in this document:
- CRD - Custom Resource Definition, a Kubernetes API object
- CR - Custom Resource (an instance of Kubernetes Custom Resource)
- NWI - Network Instance, a term used in 3GPP and in the UPF plugin
Features 🚀
Upgrade VPP version to 22.02-rc1, hugepages are now required
- VPP version has been upgraded to 22.02-rc1 due to IPFIX requirements
- VPP 22.02-rc1 requires at least 2G of hugepages allocated per UPG
- there's
enableHugepagesAllocationvariable in the chart'svalues.yamlto enable the use of hugepages for the heap, stats and VPP buffers. By default,enableHugepagesAllocationis set totrue - With
enableHugepagesAllocation: true, the recommended minimal resource settings are:
- With
enableHugepagesAllocationset tofalse, UPG still requires2Giof hugepages, so recommended minimal resource setting in this case are:
- When
enableHugepagesAllocationisfalse, sethugepages-2Mito2Gi - When
enableHugepagesAllocationistrue, sethugepages-2Mitoheapsize+2Gi
Add Helm chart for UPG Manager
upghelm chart is migrated from theupg-helmrepository.- CRDs (Custom Resource Definitions) have their own chart
upg-crd upg-supportchart is migrated from theupg-helmrepository
Add UPGConfig CR with NWI configuration
- Network Instance (NWI) must be created with
UPGConfigCustom Resource (CR), not with UPG CLI - UPG chart generates the corresponding NWIs in the UPGConfig CR for
epc/access,cpandsgi(multiplesgis for CG-NAT use-case) - Modifying
UPGConfigcauses the corresponding UPG instance to restart and lose all of the sessions, so modifying NWIs "on the fly" is not supported right now - Later versions of UPG will support updating UPGConfig and the NWIs in particular without restart
IPFIX support
- To configure IPFIX exporter (one for each IPFIX collector),
IPFIXExporterCR should be used UPGConfigCR defines IPFIX configuration for each NWI- Refer to UPG deployment guide for a sample IPFIX configuration
- IPFIX data can only be sent over VPP interface. Kubernetes network can't be used for that purpose unless FPP is used as the primary CNI in the cluster (which has not been tested or tried yet)
- IPFIX collector needs to be available using FPP-CNI network
- UPG exposes two IPFIX templates:
default- mainly created for TDF use-case, with NAT informationdest- used in PGW mode
- IPFIX collectors are distinguish by their IP address, so only one collector per IP is supported currently (this is VPP internal limitation)
Expose stats segment utilization metrics
New metrics are exposed:
- Stats segment size,
vpp_stat_seg_total_bytes - Stats segment used space,
vpp_stat_seg_used_bytes - Stats segment free space
vpp_stat_seg_free_bytes
Expose error, performance and connectivity metrics
For better debugging and performance profiling, the following new metrics are reported:
vpp_interface_errorsmetric exposes possible issues on interfaces like:- an interface is down,
- traffic on a passive bond member (in active-passive configuration)
- DPDK TX function error, TX packet drops
- tap: pending messages in TX ring
vpp_interface_no_tx_slots- not enough space in the memif TX ring (indicates possible performance bottlenecks)vpp_arp_sentandvpp_arp_hw_addr_not_match_l2_framewhich indicates possible connectivity issues
Use meaningful interface names
In the previous version of upg-manager, the interface names in VPP
were different from those specified in the Network Attachment
Definition. This was making the corresponding metrics misleading, as
generated interface names like memif1/100 were being published.
UPG 2.0 uses name from the CNI config as the corresponding VPP
interface name, there are meaningful interface names visible in the
VPP CLI and in the metrics.
Below, the memif interface name will be set to the value o name
specified in the Network Attachment Definition (grx):
Add ability to define PFCP rate limiter
- Rate limit for the PFCP Session Report Requests can be specified via
rateLimiterPPSinvalues.yaml rateLimiterPPS: 50means that max 50 PFCP Session Report Requests per second will be sent towards SMF
Fixes 🐛
Fixes in URR timers handling
Fix stopping random timers and warn about delayed URR timer events
This fixes the bug upg#104Opens in a new tab
Fix missing NAT metrics
NAT metrics were not present in UPG 1.4 release. The following NAT metrics are added UPG 2.0.0:
vpp_nat_pool_block_sizevpp_nat_pool_capacityvpp_nat_pool_infovpp_nat_pool_utilization
Known issues
Kernel 5.15 and newer are not supported
UPG 2.0.0 does not work with the newer kernel versions (5.15+), which is related to the constraints of
the new layout for the control groups (cgroups) v2 files. To check if UPG works with your kernel version,
connect to your machine and check if the /sys/fs/cgroup/cpuset/cpuset.cpus path
is present. If not, use the newer version of UPG, since the current version will not work.
Kubernetes 1.22+ is not supported
Since the support for the CustomResourceDefinition (CRD) apiVersion of apiextensions.k8s.io/v1beta1
was removed from Kubernetes API in release 1.22+, UPG-CRD 2.0.0 does not work on that cluster.
Please use the newer versions of UPG-CRD.
No support for constant PCAP collection in the UPG 2.0 chart
FPP-based CNFs does not support kernel based pcap collection like previous versions of the UPG chart provided. That is why the sidecar container with pcap and rclone has been removed.
An alternative possibility for PCAPs collection is using SPAN interfacesOpens in a new tab, in FPP. Currently it was not validated by QA, so no effect on CPU or memory consumption is known.
UPG Overview dashboard can be installed only once per cluster
upg-support chart that includes UPG Overview Grafana dashboard should be
installed only once per cluster.
ServiceMonitor can be deployed multiple times, but dashboard should be
disabled, as in upg-support chart config values:
Migration guide
1.4 → 2.0
UPG 1.4 is deployed by upg-helmOpens in a new tab chart. UPG 2.0 chart includes following changes to deployment method:
- No
vxlanControllersupport in UPG 2.0 - FPP deployment is enabled by default, no
fpp.enabledvalue - no
upgAgentin UPG 2.0 - no
pcapandrclonesupport in UPG 2.0 resourcesare defined only forupg-manageradditionalNetworksmoved fromfppto top level invalues.yaml, or per UPG instance ininstances.<name>.networking
For actual migration steps, please follow the instructions prepared for TDF migration guideBroken link.
KPIs
See the KPI document for the KPIs of UPG v2.0.0.