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 chartepc2- second NWI created by additional UPGConfig CRepc3- third NWI also created by UPGConfig CR
Create epc2 and epc3 using the following UPGConfig CR:
Then, apply the YAML file with the UPGConfig CR to the cluster using this command:
Create NADs
To configure NWI IPs, create additional Network Attachment Definitions outside of the UPG chart and apply them to the cluster:
The NADs pgw-u-epc2-inst01 and pgw-u-epc3-inst01 will be 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:
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:
The {HELM_DEPLOYMENT_NAME} must match the UPGConfig label fpp-manager.cennso.com/plumbing-instance: upg-inst01, so that the additional configuration will be 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:
See the output example:
To see the NWIs configuration, type vppctl sh upf nwi. This is the output example: