CDF chart
Charging Data Function (CDF) chart installs CDF and provides you with parameters you can use to configure it.
Configuration
The following table lists the configurable parameters of the CDF chart and their default values.
| Key | Description | Type | Default |
|---|---|---|---|
| affinity | Kubernetes affinity. | object | {} |
| annotations | Kubernetes annotations. | object | {} |
| hostAliases | In case one needs semi static DNS entries | list | [{"hostnames":["cdf.localhost"],"ip":"127.0.0.1"}] |
| http.enabled | Parameter that enables HTTP. | bool | true |
| http.ip | Port on which the HTTP server listens. | string | "0.0.0.0" |
| http.options.live | Parameter that enables /livenez. | bool | true |
| http.options.metrics | Parameter that enables /metrics. | bool | true |
| http.options.port | HTTP port for Nchf, metrics, liveness, and so on. | int | 8080 |
| http.options.ready | Parameter that enables /readyz. | bool | true |
| http.portname | Kubernetes port name. | string | "p8080" |
| image.pullPolicy | Kubernetes Image Pull Policy. The possible values are: "Always", "IfNotPresent", "Never". | string | "IfNotPresent" |
| image.repository | This parameter configures the docker repository. | string | "registry.cennso.com/cennso/ercdf" |
| image.tag | This parameter is set to vChart.AppVersion by default. | string | nil |
| imagePullSecrets[0].name | string | "regcred" | |
| initScript | Init script. | object | {"enabled":true,"image":"quay.io/travelping/nettools:v1.10.0","script":"ip addr show"} |
| initScript.enabled | Parameter that installs the init script. | bool | true |
| initScript.image | Image for the init script. | string | "quay.io/travelping/nettools:v1.10.0" |
| interimInterval | Global Acct-Interim-Interval if no configuration in APN | object | {"enabled":false,"seconds":1800} |
| json | When enabled, this parameter stores a major part of the CDF configuration in a JSON file. The log library is still configured in the sys.conf Erlang file. | object | {"enabled":false} |
| labels | Kubernetes labels. | object | {} |
| logger.level | Log level. The possible values are: info, warning, and error. | string | "warning" |
| metrics.enabled | Parameter that enables creating a service which ServiceMonitor then finds. | bool | true |
| nodeSelector | Kubernetes nodeSelector. | object | {} |
| pcap | PCAP configuration | object | {"ga":{"enabled":false,"interface":"prod-ga","interval":"900","maxfilenum":"672"},"image":{"pullPolicy":"IfNotPresent","repository":"travelping/pcap","tag":"1.2.1"},"prefix":""} |
| pingExporter | Ping exporter | object | {"config":{"dns":{"refresh":"1m"},"web":{"listen-address":":9427","telemetry-path":"/metrics"}},"enabled":false,"image":{"pullPolicy":"IfNotPresent","repository":"travelping/ping-exporter","tag":"0.6.0"},"service":{"annotations":{"prometheus.io/port":"9427","prometheus.io/scrape":"true"}}} |
| postInitConfig | Kubernetes postInitConfig. | object | {} |
| preInitConfig | Kubernetes preInitConfig. | object | {} |
| rclone | Rclone configuration | object | {"enabled":false,"env":{"RCLONE_REMOTE_NAME":"sftp","RCLONE_REMOTE_PATH":"data"},"hostAliases":{"enabled":false},"image":{"pullPolicy":"IfNotPresent","repository":"travelping/docker-rclone","tag":"v1.0"},"useSSHkeyFile":false} |
| receiver.directory | Top-level directory in the S3 storage where CDR files are stored. | string | nil |
| receiver.enabled | This parameter must be enabled for CDF Receiver to be deployed. | bool | false |
| receiver.hostname | Origin-Host in Accounting Answer (ACA) in Diameter Rf interface. | string | nil |
| receiver.realm | Origin-Realm in ACA. | string | nil |
| receiver.simultaneousIncoming | The number of simultaneously incoming Accounting Requests (ACR), in the Diameter Rf interface, that is allowed. The default value is 1000. | int | 1000 |
| receiver.transportOptions.nodelay | The parameter that turns on the Nagle's algorithm for merging small packets into larger ones. This improves throughput at the expense of latency. This option is disabled by default. | bool | false |
| receiver.transportOptions.port | Diameter Rf port. | int | 3868 |
| receiver.transportOptions.receiveBuffer | The size of the socket send buffer for Diameter Rf from CTF in bytes. The default value equals the operating system settings. | int | 131072 |
| receiver.transportOptions.reuseAddress | The parameter that enables the local binding address {IP,Port} of the socket to be reused immediately. This option is disabled by default. | bool | false |
| receiver.transportOptions.sendBuffer | The size of the socket send buffer for Diameter Rf towards CTF in bytes. The default value equals the operating system settings. | int | 131072 |
| receiver.transportOptions.transportType | Rf transport type. tcp or sctp. | string | "tcp" |
| receiver.waitS3 | The wait duration before sending a CDR file to the S3 storage, in milliseconds. Every CDR is about 4 kb and the maximum size of the file with CDRs is 2 GB. The default value is 100000. | int | 100000 |
| resources | Kubernetes resources. | object | {"cdf":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"50m","memory":"128Mi"}},"pcap":{"limits":{"cpu":0.1,"memory":"128Mi"},"requests":{"cpu":0.05,"memory":"64Mi"}},"pingExporter":{"limits":{"cpu":"50m","memory":"64Mi"},"requests":{"cpu":"50m","memory":"64Mi"}},"rclone":{"limits":{"cpu":0.4,"memory":"192Mi"},"requests":{"cpu":0.1,"memory":"64Mi"}}} |
| sender.APNSpecificConfig | For APN specific Configuration see Documentation under Configuration/APN-specific configuration | object | {} |
| sender.CGFs | List of addresses and ports where CDRs must be sent. | list | [] |
| sender.accumulateMax | Maximum number of CDRs in a file. Every CDR is about 4 kb and the maximum size of the file with CDRs is 2 GB. The default value is 30000. | int | 30000 |
| sender.cdrMax | The maximum number of CDRs sent to a CGF per time unit. The default value is 1. | int | 1 |
| sender.cdrTime | The time interval (milliseconds) in which excdf tries to send the maximum number of CDRs. The default value is 1000. | int | 1000 |
| sender.directories | List of top-level directories in the S3 storage where CDR files are stored. | list | [] |
| sender.echo | The time interval between consecutive GTP Echo Requests towards CGF in milliseconds. The default value is 60000. Cannot be less. | int | 60000 |
| sender.enabled | This parameter must be enabled for CDF Sender to be deployed. | bool | false |
| sender.responseTimeout | The waiting duration for the GTP Response in milliseconds. The default value is 1000. | int | 1000 |
| sender.transportOptions.data.receiveBuffer | The size of the socket receive buffer for the GTP Data Response from CGF in bytes. The default value equals the operating system settings. | int | 524288 |
| sender.transportOptions.data.sendBuffer | The size of the socket send buffer for the GTP Data Request towards CGF in bytes. The default value equals the operating system settings. | int | nil |
| sender.transportOptions.echo.port | Port of the UDP Ga interface. | int | 3386 |
| sender.waitS3 | The wait duration before checking for a CDR file in the S3 storage, in milliseconds. The default value is 10000. | int | 10000 |
| storage.local.persistence.enabled | The parameter that enables the persistent storage. It needs a PVC if enabled. This option is disabled by default. | bool | false |
| storage.s3 | Configuration for the S3 storage | object | {"bucket":null,"endpoint":null,"secret":{"accessKey":null,"create":false,"name":"s3-credentials","secretKey":null}} |
| storage.s3.bucket | Name of the bucket in the S3 storage | string | nil |
| storage.s3.endpoint | Endpoint URL to the S3 storage | string | nil |
| storage.s3.secret.accessKey | Access Key to the S3 storage, required only when secret is created | string | nil |
| storage.s3.secret.create | Create a secret with credentials to the S3 storage | bool | false |
| storage.s3.secret.name | Name of the existing secret with credentials to the S3 storage | string | "s3-credentials" |
| storage.s3.secret.secretKey | Secret Key to the S3 storage, required only when secret is created | string | nil |
| tolerations | Kubernetes tolerations. | list | [] |
| vxlanController | vxlan Controller configuration. | object | {"enabled":false,"image":"openvnf/kube-vxlan-controller-agent:2.1.0"} |