SGW Simulator chart configuration
The following table lists the common configurable parameters of the SGW Simulator chart and their default values:
| Key | Description | Type | Default |
|---|---|---|---|
| additionalConfigs | Additional configs for SGW Simulator. The key must not be named config.yaml. | object | {} |
| affinity | Parameter that assigns custom affinity rules to SGW Simulator. For more information, read the official Kubernetes documentationOpens in a new tab. | object | {} |
| autoReload | Autorestarts SGW Simulator pod after the ConfigMap update. | bool | true |
| autorun | Automatically starts SGW Simulator with /mnt/config.yaml. | bool | true |
| binary | Simulator binary the entrypoint runs: sgwsimulator (v1) or sgwsimulatorv2 (v2). The probe_session behaviour and free-form interface_names require v2. | string | "sgwsimulator" |
| config | Multiline variable that holds the main SGW Simulator configuration. It is propagated to /mnt/config.yaml. | string | "" |
| fpp.mtu | MTU used in the generated NAD config. | int | 8930 |
| fpp.table | Routing table used in the generated NAD config. | int | 100 |
| fpp.vni | VXLAN id (vni) used in the generated NAD config. When empty, no NAD is rendered and no network is attached. | int | "" |
| fullnameOverride | Fullname override for the resources. | string | "" |
| hostAliases | Kubernetes hostAliases. Required for populating /etc/hosts inside the container. | list | [] |
| image.pullPolicy | Kubernetes Image Pull Policy. The possible values are: "Always", "IfNotPresent", "Never". | string | "IfNotPresent" |
| image.repository | Repository that stores the Cennso Test Tools (CTT) image. | string | "registry.cennso.com/cennso/tp-integration-tests" |
| image.tag | Used to override the CTT image tag. By default, the version from AppVersion in Chart.yaml is used. | string | "" |
| imagePullSecrets | ImagePullSecrets that are added to the workload service account. See the value example: [{name: "regcred"}]. | list | [] |
| init | Init configuration for SGW Simulator for tap interfaces. It is always required for the Control Plane communication. | string | "# ip address add 172.20.1.1/24 dev grx0\n" |
| interfaceName | Data Plane interface name. Required for the memif type. Ignored when fpp.vni is set: the chart then uses the static in-container names memif0 / tap0. | string | "" |
| interfaceType | Data Plane interface type. The possible values are "memif" and "tap". | string | "memif" |
| labels | Labels present on each resource. | object | {} |
| nameOverride | Chart name override. | string | "" |
| nodeSelector | Parameter that selects nodes SGW Simulator should run. For more information about nodeSelectors, read the official Kubernetes documentationOpens in a new tab. | object | {} |
| podAnnotations | Annotations present on the SGW Simulator pod. For the memif interface, both types are required. Memif network is used for User Plane, tap for Control Plane. | object | {} |
| podSecurityContext | SecurityContext present on the SGW Simulator pod. | object | {} |
| resources | Resources assigned to the SGW Simulator container. There is a separate definition for limit and request. For more information, read the official Kubernetes documentationOpens in a new tab. | object | {"limits":{"cpu":2,"memory":"2Gi"},"requests":{"cpu":2,"memory":"2Gi"}} |
| securityContext | SecurityContext present on the SGW Simulator container. | object | {"capabilities":{"add":["NET_ADMIN"]}} |
| tolerations | Kubernetes tolerations. For more information, read the official Kubernetes documentationOpens in a new tab. | list | [] |