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. Go to 3.2

Deploy UPG with multiple Access Network Instances

This document describes how to deploy UPG with multiple Access Network Instances (NWIs) using a UPG Helm chart and additional configuration. In this tutorial, you will use the basic Packet Gateway (PGW) Helm chart configurationOpens a file and the required Network Attachment Definitions (NADs) and additional UPGConfig custom resources (CRs)Opens a file.

Define NWIs

First, define three Access Network NWIs:

  • epc - NWI created by default by UPG chart
  • epc2 - second NWI created by additional UPGConfig CR
  • epc3 - third NWI also created by UPGConfig CR

Create epc2 and epc3 using the following UPGConfig CR:

yaml

Then, apply the YAML file with the UPGConfig CR to the cluster using this command:

bash

Create NADs

To configure NWI IPs, create additional Network Attachment Definitions outside of the UPG chart and apply them to the cluster:

yaml

The NADs pgw-u-epc2-inst01 and pgw-u-epc3-inst01 is used in the chart configuration instances.{NAME}.networking.additionalNetworks.

Configure the UPG chart

Add the configuration created in previous steps to the UPG Helm chart configuration:

yaml

The additionalNetworks parameter adds the NADs created for NWI IPs to UPG deployment network annotations. NWIs created in UPGConfig are used to create the GTP-U endpoint in the UPF CLI upf gtpu endpoint ... in instances.{NAME}.additionalConfig.

Then, install UPG using this command:

bash

The {HELM_DEPLOYMENT_NAME} must match the UPGConfig label fpp-manager.cennso.com/plumbing-instance: upg-inst01, so that the additional configuration is applied on UPG. In this example, {HELM_DEPLOYMENT_NAME} is equal to upg.

Verify the configuration

You can check if the requested changes are applied on UPG using the vppctl command in the UPG pod:

bash

See the output example:

bash

To see the NWIs configuration, type vppctl sh upf nwi. This is the output example:

bash