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. | [] |
| bgp.enabled | bool | Enables UE IP publishing by the BGP daemon | false |
| bgp.exporter.image.pullPolicy | string | Kubernetes Image Pull Policy. The possible values are: "Always", "IfNotPresent", and "Never". | "IfNotPresent" |
| bgp.exporter.image.repository | string | Repository with the BIRD Exporter image | "openvnf/bird_exporter" |
| bgp.exporter.image.tag | string | Oerrides the image tag. | "1.2.5" |
| bgp.image.pullPolicy | string | Kubernetes Image Pull Policy. The possible values are: "Always", "IfNotPresent", and "Never". | "IfNotPresent" |
| bgp.image.repository | string | Repository with the Network Utility image | "registry.cennso.com/cennso/nettools" |
| bgp.image.tag | string | Overrides the image tag. | "v1.13.0" |
| bgp.interface | string | Interface to which the BGP daemon is attached | "sgi" |
| bgp.netnsPath | string | Linux network namespace shared between UPG and the BGP daemon | "/run/vpptools/netns" |
| bgp.setup.image.pullPolicy | string | Kubernetes Image Pull Policy. The possible values are: "Always", "IfNotPresent", and "Never". | "IfNotPresent" |
| bgp.setup.image.repository | string | Repository holding the FPP Manager image | "registry.cennso.com/cennso/fpp-manager" |
| bgp.setup.image.tag | string | Overrides the image tag. | "v2.6.0" |
| bgp.table | int | Linux kernel table ID where UPG publishes UE IPs | 213 |
| 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 |
| envs | list | Custom environment variables set for the UPG container. Sample value: [{"name":"APP_EXAMPLE_NAME","value":"APP_EXAMPLE_VALUE"}] | [] |
| 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 the 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 Basic 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. For CG-NAT maximum is 60 | 60 |
| nat.timeouts.tcpEstablished | int | TCP-established NAT flow timeout in seconds. For CG-NAT maximum is 2000 | 1800 |
| nat.timeouts.tcpTransitory | int | TCP transitory NAT flow timeout in seconds. For CG-NAT maximum is 2000 | 240 |
| nat.timeouts.udp | int | UDP NAT flow timeout in seconds. For CG-NAT maximum is 2000 | 300 |
| nat.type | string | Specifies whether to configure the CGNAT or basic type. The possible values are basic and cgnat. | "basic" |
| natsConfig.enabled | bool | Retrieves NETCAP configuration from the NATS key-value store, specifying settings for traffic capturing. | false |
| natsConfig.nats.clusterName | string | Name of the NATS cluster used for the NETCAP configuration filtering. If empty, the connected server's cluster name is used. | "" |
| natsConfig.nats.configBucketName | string | Name of the NATS key-value store bucket used to monitor NETCAP configuration updates. | "netcap-config" |
| natsConfig.nats.controlJetStreamDomain | string | Name of the NATS JetStream domain used to access the config and status KV stores. If empty, it is not used. | "" |
| natsConfig.nats.statusBucketName | string | Name of the NATS key-value store bucket used to push NETCAP status updates. This bucket should have TTL set. | "netcap-status" |
| natsConfig.nats.url | string | NATS connection URL | "nats://nats.default" |
| natsConfig.userCredentials | string | Name of the Secret with the NATS user credentials file. If empty, it is not used. | "" |
| netcap.hostSocketDirectory | string | Overrides the host directory path for NETCAP integration. | "/run/netcap/" |
| netcap.netcapSocketPath | string | Configures the NetCap Collector socket path | "" |
| 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. An empty value means that the default value is used. | 3 |
| pfcpHeartbeatTimeout | int | Defines the timeout interval between PFCP heartbeat requests in seconds. An 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 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 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.pollSleepUs | int | Number of microseconds that VPP sleeps between each NIC poll. It reduces performance but is useful for testing on personal hardware. | 0 |
| 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}.additionalConfig | List of VPPCTL commands added to VPPConfig afterCommands | |
| instances.{NAME}.netcapName | Name of endpoint in a Netcap connection. Defaults to pod hostname. | |
| instances.{NAME}.netcapLabels | {} | Defines NetCap labels attached to the stream metadata. Example: {netcapLabels: {apn: test.cennso.com, lane: lane-b}} |
| 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.ipfixReportInterval | Minimal time in seconds between intermediate reports. Intermediate reports are disabled if the value is zero. | |
| instances.{NAME}.nat.pools.{NAME}.networking.observationDomainID | IPFIX Observation Domain ID of the exporter. You must use the same value per IPFIX exporter. | |
| instances.{NAME}.nat.pools.{NAME}.networking.observationDomainName | IPFIX Observation Domain Name of an endpoint | |
| instances.{NAME}.nat.pools.{NAME}.networking.observationPointID | IPFIX Observation Point ID of an endpoint | |
| 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.ipv4.strictRouting | false | Enables ipv4 strict routing tables separation for the GRX Access NWI |
| instances.{NAME}.networking.grx.ipv4.routes | [] | List of additional routes to be added to the pod during network initialization using the GRX Access interface |
| instances.{NAME}.networking.grx.ipv4.routes.[].to | Route destination network that uses the GRX Access interface. This parameter is required. | |
| instances.{NAME}.networking.grx.ipv4.routes.[].via | IP address for the next hop router for this particular route that uses the GRX interface. This parameter 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 defined in numRxQueues. | |
| instances.{NAME}.networking.grx.clientTxPlacement | UPG-side Tx placement. It's an array of core IDs of length defined in 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 defined in numRxQueues. | |
| instances.{NAME}.networking.sx.clientTxPlacement | UPG-side Tx placement. It's an array of core IDs of length defined in 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 and FlowUsage. |
| instances.{NAME}.networking.sgi.ipfixReportInterval | Minimal time in seconds between intermediate reports. Intermediate reports are disabled if the value is zero. | |
| instances.{NAME}.networking.sgi.observationDomainID | IPFIX Observation Domain ID of the exporter. You must use the same value per IPFIX exporter. | |
| instances.{NAME}.networking.sgi.observationDomainName | IPFIX Observation Domain Name of an endpoint | |
| instances.{NAME}.networking.sgi.observationPointID | IPFIX Observation Point ID of an endpoint | |
| 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.ipv4.strictRouting | false | Enables IPv4 strict routing tables separation for SGI NWI |
| instances.{NAME}.networking.sgi.ipv4.routes | [] | List of additional routes to be added to the pod during network initialization using the SGI interface |
| instances.{NAME}.networking.sgi.ipv4.routes.[].to | Route destination network using the SGI interface. This parameter is required. | |
| instances.{NAME}.networking.sgi.ipv4.routes.[].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.ipv6.strictRouting | false | Enables IPv6 strict routing tables separation for SGI NWI |
| instances.{NAME}.networking.sgi.ipv6.routes | [] | List of additional routes to be added to the pod during network initialization using the SGI interface |
| instances.{NAME}.networking.sgi.ipv6.routes.[].to | Route destination network that uses the SGI interface. This parameter is required. | |
| instances.{NAME}.networking.sgi.ipv6.routes.[].via | IP address for the next hop router for this particular route using the SGI 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 defined in numRxQueues. | |
| instances.{NAME}.networking.sgi.clientTxPlacement | UPG-side Tx placement. It's an array of core IDs of length defined in 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 | |
| instances.{NAME}.requiredRoutingTables | List of routing table IDs to be created before VPPConfig afterCommands are run. It creates empty IPv4 and IPv6 tables. | |
| instances.{NAME}.bgp.config | "" | BGP configuration |
| 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 |