User Plane Gateway chart configuration
The following table lists the configurable parameters of the User Plane Gateway (UPG) chart and their default values:
| Parameter | Type | Description | Default value |
|---|---|---|---|
| affinity | object | Assigns custom affinity rules to UPG. For more information, read Kubernetes documentationOpens in a new tab. | {} |
| annotations | object | Annotations that are present on each resource but not the pod. | {} |
| applicationDetection.enabled | bool | Enables application detection. | false |
| applicationDetection.rules | string | List of applications | nil |
| arpCacheLongevity | int | Longevity of ARP cache entries in seconds | 10 |
| beforeCommands | list | VPP commands to execute before bringing up any interfaces for this VPP instance. When multiple VPPConfigs are merged, beforeCommands are combined in the reverse order by priority value, so commands from the configs with higher priority go first. See VPPConfig CRD documentation for more information. | [] |
| buffersPerNuma | int | Specifies the number of buffers per NUMA node in VPP. | 256000 |
| coredump.enabled | bool | Enables core dumping for the VPP process. | true |
| dumpControllerEvents | bool | Enables the verbose mode for FPP controllers. It shows the reason for each reconciliation run, complete with Kubernetes object dumps / diffs. | false |
| enableHugepagesAllocation | bool | Allocates 2Mi hugepages for heap, stats segment, and buffers. | false |
| fpp.cniVersion | string | CNI version to use for Network Attachment Definitions. | "0.3.0" |
| fullnameOverride | string | Fullname override for the resources. | "" |
| heapsize | string | UPG instance heapsizeOpens in a new tab | "2G" |
| image.pullPolicy | string | Kubernetes Image Pull Policy. The possible values are: "Always", "IfNotPresent", and "Never". | "IfNotPresent" |
| image.repository | string | Repository holding the UPG image. | "registry.cennso.com/cennso-dev/upg-manager" |
| image.tag | string | Used to override the image tag. The version of AppVersion from Chart.yaml is used by default. | "" |
| imagePullSecrets | list | ImagePullSecrets that are added to the UPG service account. | [] |
| labels | object | Labels to apply to all resources in this chart. The apn label is required, as it is used in Grafana dashboards. | {} |
| logLevel | string | Sets verbosity of the logging. The possible values are trace, debug, info, and error. | "debug" |
| nameOverride | string | Name override for the chart. | "" |
| nat.enabled | bool | Specifies if the NAT function is applied | false |
| nat.maxNatFlows | int | Maximum number of NAT flows | 1000000 |
| nat.maxNatPort | int | Maximal port for the NAT translation | 65535 |
| nat.minNatPort | int | Minimal port for NAT translation | 1024 |
| nat.timeouts.icmp | int | ICMP NAT flow timeout in seconds | 60 |
| nat.timeouts.tcpEstablished | int | TCP-established NAT flow timeout in seconds | 7440 |
| nat.timeouts.tcpTransitory | int | TCP transitory NAT flow timeout in seconds | 240 |
| nat.timeouts.udp | int | UDP NAT flow timeout in seconds | 300 |
| nat.type | string | Specifies whether to configure the CGNAT or basic type. The possible values are basic and cgnat. | "basic" |
| nwis | object | Per Network Instance (NWI) configuration | {"access":{"name":"epc","type":"gtpu"},"control":{"name":"cp","type":"gtpu"},"data":{"name":"sgi","type":"ip"}} |
| nwis.access | object | Access Network instance configuration | {"name":"epc","type":"gtpu"} |
| nwis.access.name | string | Name of the Access Network instance | "epc" |
| nwis.access.type | string | Name of the Access Network instance. The possible values are gtpu and tdf. | "gtpu" |
| nwis.control | object | Control Network instance configuration | {"name":"cp","type":"gtpu"} |
| nwis.control.name | string | Name of the Control Network instance | "cp" |
| nwis.control.type | string | Type of the Control Network instance. The default value is gtpu. | "gtpu" |
| nwis.data | object | Data Network instance configuration | {"name":"sgi","type":"ip"} |
| nwis.data.name | string | Name of the Data Network instance | "sgi" |
| nwis.data.type | string | Type of the Data Network instance. The possible values are ip and gtpu. | "ip" |
| pfcpFIFOSize | int | PFCP FIFO size in KB | 512 |
| pfcpHeartbeatRetries | int | Defines the number of retries for PFCP heartbeat requests. Empty value means that the default value is used. | 3 |
| pfcpHeartbeatTimeout | int | Defines timeout interval between PFCP heartbeat requests in seconds. Empty value means that the default value is used. | 10 |
| podAnnotations | object | Annotations that are present on each pod. | {} |
| podLabels | object | Labels that are present on each pod. | {} |
| proxyMSS | string | TCP MSS value for the UPF proxy which is used for ADF and redirects. If the value is too high, for example when the given MSS clamping settings are used, TCP stitching may not work and all of TCP traffic will go through the proxy. | "" |
| rateLimiterPPS | string | Specifies how many PFCP Session Report Request messages are sent per second. An empty value means that the option is disabled. | "" |
| resources.cpu | string | CPU assigned for UPG container. For more information, read Kubernetes documentationOpens in a new tab. The default value of 2 translates to 1 physical core and should be enough for testing. For production, at least 4 (2 physical cores) is recommended to accommodate the UPG Manager process. | "2" |
| resources.hugepages-2Mi | string | Hugepages assigned for UPG container. For more information, read Kubernetes documentationOpens in a new tab. This value should be bigger than the value of the heapsize by 1Gi. | "0Gi" |
| resources.memory | string | Memory assigned for UPG container. For more information, read Kubernetes documentationOpens in a new tab. This value should be bigger than the value of the heapsize by 1Gi. | "3Gi" |
| routingTableSelectors | list | Defines a selector for the RoutingTable objects. | [] |
| statSegSize | string | UPG instance statseg sizeOpens in a new tab | "512M" |
| tolerations | string | Tolerations to use with node taints. For more information, read Kubernetes documentationOpens in a new tab. | nil |
| type | string | Installation type. The possible values are pgw and tdf. | "pgw" |
| useCNILessMemifs | bool | Enabling this option creates VPPInterface with a slave memif. CNI is not used. Requires FPP 2.2 and newer. | false |
| vpp.exitFatal | bool | Restarts the pod when VPP becomes unresponsive. | false |
| vpp.gdb.enabled | bool | Runs VPP under GDB. Do not use this for production deployments. | false |
| vpp.gdb.script | string | Specifies the GDB script to use. | "" |
| vpp.stopOnHang | bool | Makes UPGManager send SIGINT to the VPP process when it becomes unresponsive. When used together with vpp.gdb.script, it is possible to get backtrace for the spot that caused issues. | false |
| vpp.traceAPICalls | bool | Enables verbose tracing of VPP API calls on the VPPLink level instead of the VPP API tracing facility. | false |
Here are the configurable parameters that contain variables:
| Parameter | Default value | Description |
|---|---|---|
| applicationDetection.rules | {} | List of applications |
| applicationDetection.rules.{RULE_NAME}.type | Type of rule. In the classic type, the flow information is sent to the U-Node from the C-Node through PFCP. The adf type uses the preconfigured application detection function on the U-Node side. The l7 type is a preconfigured U-Node configuration for the l7 regex pattern that matches traffic classification. | |
| applicationDetection.rules.{RULE_NAME}.permittedIPs.ipv4 | [] | List of IP addresses used to apply this rule |
| applicationDetection.rules.{RULE_NAME}.via.ipv4 | [] | IP address of the next hop router needed to reach permittedIPs |
| applicationDetection.rules.{RULE_NAME}.regex | The pattern matching when using rule type l7 | |
| instances | {} | Dictionary of UPG instances |
| instances.{NAME}.additionalInitContainers | {} | Adds additional InitContainers to the instance. |
| instances.{NAME}.additionalVolumes | {} | Adds additional volumesOpens in a new tab to the instance. |
| instances.{NAME}.additionalContainers | {} | Adds additional containersOpens in a new tab to the instance. |
| instances.{NAME}.nat.pools | {} | Dictionary of UE IP pools in case of CG-NAT type. For each entry, the key is the pool name as selected by Session Management Controller (SMC) over PFCP. |
| instances.{NAME}.nat.pools.{NAME}.end | Pool last address | |
| instances.{NAME}.nat.pools.{NAME}.networking | Network configuration for the pool | |
| instances.{NAME}.nat.pools.{NAME}.networking.interface | Host interface to which the particular pools must be assigned and which is used to construct the NWI name | |
| instances.{NAME}.nat.pools.{NAME}.networking.ipfixCollector | Address of the IPFIX collector for this pool. This parameter is optional. | |
| instances.{NAME}.nat.pools.{NAME}.networking.ipfixPolicy | NatEvent | Template of the IPFIX collector for this pool. This parameter is optional. The possible values are NatEvent and FlowUsage. |
| instances.{NAME}.nat.pools.{NAME}.networking.ipv4 | IPv4 configuration for the interface used for this pool | |
| instances.{NAME}.nat.pools.{NAME}.networking.ipv4.addresses | [] | IPv4 addresses with mask |
| instances.{NAME}.nat.pools.{NAME}.networking.ipv4.gw | IPv4 gateway address | |
| instances.{NAME}.nat.pools.{NAME}.networking.networkName | FPPNetwork name for NAT pool interface, used for CNI-less memifs | |
| instances.{NAME}.nat.pools.{NAME}.networking.type | VPP interface type. The possible values are tap and memif. | |
| instances.{NAME}.nat.pools.{NAME}.networking.vni | VXLAN Network Identifier | |
| instances.{NAME}.nat.pools.{NAME}.start | Pool starting address | |
| instances.{NAME}.nat.pools.{NAME}.blocksize | Pool block size | |
| instances.{NAME}.nat.ranges | {} | IP ranges for the basic NAT pool. Only a single range is supported. It is a beta feature, which means it is not production ready. |
| instances.{NAME}.nat.ranges.end | End IP of the pool range | |
| instances.{NAME}.nat.ranges.start | Start IP of the pool range | |
| instances.{NAME}.networking | Network configuration for the UPG instance | |
| instances.{NAME}.networking.additionalNetworks | [] | Additional networks handled by CNI |
| instances.{NAME}.networking.additionalInterfaces | [] | Additional interface names handled in VPPConfig |
| instances.{NAME}.networking.grx.interface | Name of the GRX Access interface. This option is required for PCG. | |
| instances.{NAME}.networking.grx.ipv4.addresses | [] | IPv4 addresses of GRX Access interface. This option is required for PCG. |
| instances.{NAME}.networking.grx.ipv6.addresses | [] | IPv6 addresses of GRX Access interface |
| instances.{NAME}.networking.grx.mtu | MTU of the GRX Access interface | |
| instances.{NAME}.networking.grx.networkName | FPPNetwork name for access/GRX interface, used for CNI-less memifs | |
| instances.{NAME}.networking.grx.routes.ipv4 | [] | List of additional routes to be added to the pod during network initialization using the GRX Access interface |
| instances.{NAME}.networking.grx.routes.ipv4.[].to | Route destination network that uses the GRX Access interface. This parameter is required. | |
| instances.{NAME}.networking.grx.routes.ipv4.[].via | IP address for the next hop router for this particular route that uses the GRX interface. This paramerer is optional. | |
| instances.{NAME}.networking.grx.type | VPP interface type. The possible values are tap and memif. | |
| instances.{NAME}.networking.grx.vni | VXLAN Network Identifier | |
| instances.{NAME}.networking.grx.memifBufferSize | Memif interface buffer size | |
| instances.{NAME}.networking.grx.memifRingSize | Memif interface ring size | |
| instances.{NAME}.networking.grx.numTxQueues | Number of TX queues | |
| instances.{NAME}.networking.grx.numRxQueues | Number of RX queues | |
| instances.{NAME}.networking.grx.txPlacement | VPPSwitch-side TX placement. It's an array of core IDs of length numRxQueues. | |
| instances.{NAME}.networking.grx.clientTxPlacement | UPG-side TX placement. It's an array of core IDs of length numTxQueues. | |
| instances.{NAME}.networking.sx.interface | Name of the Sx interface | |
| instances.{NAME}.networking.sx.ipv4.addresses | [] | IPv4 addresses of the Sx Interface |
| instances.{NAME}.networking.sx.ipv6.addresses | [] | IPv6 addresses of the Sx Interface |
| instances.{NAME}.networking.sx.mtu | MTU of the Sx interface | |
| instances.{NAME}.networking.sx.networkName | FPPNetwork name for control/SX interface, used for CNI-less memifs | |
| instances.{NAME}.networking.sx.memifBufferSize | Memif interface buffer size | |
| instances.{NAME}.networking.sx.memifRingSize | Memif interface ring size | |
| instances.{NAME}.networking.sx.numTxQueues | Number of TX queues | |
| instances.{NAME}.networking.sx.numRxQueues | Number of RX queues | |
| instances.{NAME}.networking.sx.txPlacement | VPPSwitch-side TX placement. It's an array of core IDs of length numRxQueues. | |
| instances.{NAME}.networking.sx.clientTxPlacement | UPG-side TX placement. It's an array of core IDs of length numTxQueues. | |
| instances.{NAME}.networking.sgi.interface | Name of the SGi interface | |
| instances.{NAME}.networking.sgi.ipfixCollector | Address of the IPFIX collector for the SGi interface. This parameter is optional. | |
| instances.{NAME}.networking.sgi.ipfixPolicy | FlowUsage | Template of the IPFIX collector for the SGi interface. This parameter is optional. The possible values are NatEvent or FlowUsage. |
| instances.{NAME}.networking.sgi.ipv4.addresses | [] | IPv4 addresses of SGi interface |
| instances.{NAME}.networking.sgi.ipv6.addresses | [] | IPv6 addresses of SGi Interface |
| instances.{NAME}.networking.sgi.mtu | MTU of the SGi interface | |
| instances.{NAME}.networking.sgi.networkName | FPPNetwork name for data/SGi interface, used for CNI-less memifs | |
| instances.{NAME}.networking.sgi.routes.ipv4 | [] | List of additional routes to be added to the pod during network initialization using the SGi interface |
| instances.{NAME}.networking.sgi.routes.ipv4.[].to | Route destination network using the SGi interface. This parameter is required. | |
| instances.{NAME}.networking.sgi.routes.ipv4.[].via | IP address for the next hop router for this particular route that uses the SGi interface. This parameter is optional. | |
| instances.{NAME}.networking.sgi.routes.ipv6 | [] | List of additional routes to be added to the pod during network initialization using the SGI interface |
| instances.{NAME}.networking.sgi.routes.ipv6.[].to | Route destination network that uses the SGi interface. This parameter is required. | |
| instances.{NAME}.networking.sgi.routes.ipv6.[].via | IP address for the next hop router for this particular route using the GRX interface. This parameter is optional. | |
| instances.{NAME}.networking.sgi.type | VPP interface type. The possible values are tap and memif. | |
| instances.{NAME}.networking.sgi.vni | VXLAN Network Identifier | |
| instances.{NAME}.networking.sgi.memifBufferSize | Memif interface buffer size | |
| instances.{NAME}.networking.sgi.memifRingSize | Memif interface ring size | |
| instances.{NAME}.networking.sgi.numTxQueues | Number of TX queues | |
| instances.{NAME}.networking.sgi.numRxQueues | Number of RX queues | |
| instances.{NAME}.networking.sgi.txPlacement | VPPSwitch-side TX placement. It's an array of core IDs of length numRxQueues. | |
| instances.{NAME}.networking.sgi.clientTxPlacement | UPG-side TX placement. It's an array of core IDs of length numTxQueues. | |
| instances.{NAME}.nodeIDFQDN | Sets specific upf node-id fqdn per instance. | |
| instances.{NAME}.uepools | {} | List of UE IP pools |
| instances.{NAME}.uepools.[].name | IP pools name as selected by SMC over PFCP | |
| instances.{NAME}.uepools.[].nwi | NWI to which the particular pools must be assigned | |
| ipfixExporters | List of IPFIX exporters configured for every UPG instance | |
| ipfixExporters.[].collectorAddress | Address of the IPFIX collector | |
| ipfixExporters.[].exporterID | Exporter identifier, which is a name of the domain or NAT pool | |
| ipfixExporters.[].collectorPort | Port of the IPFIX collector | |
| ipfixExporters.[].pathMTU | Path MTU between exporter and collector (68..1450) | |
| ipfixExporters.[].srcNetwork | Network used for the IPFIX exporter connection. For example, sx uses the first configured ipv4 address. | |
| ipfixExporters.[].templateInterval | Number of seconds after which to resend template | |
| ipfixExporters.[].udpChecksum | Enables the UDP checksum calculation |