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 | Enables HTTP. | bool | true |
| http.ip | Port on which the HTTP server listens | string | "0.0.0.0" |
| http.options.live | Enables /livenez. | bool | true |
| http.options.metrics | Enables /metrics. | bool | true |
| http.options.port | HTTP port for Nchf, metrics, liveness, and so on | int | 8080 |
| http.options.ready | 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_receiver | Configures the Docker repository for CDF receiver. | string | "registry.cennso.com/cennso/cdf_receiver" |
| image.repository_sender | Configures the Docker repository for CDF sender. | string | "registry.cennso.com/cennso/cdf_sender" |
| image.tag | This parameter is set to Chart.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 | 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 there is no configuration in APN | object | {"enabled":false,"seconds":1800} |
| json | Store a major part of the CDF configuration in a JSON file. | object | {"enabled":true} |
| labels | Kubernetes labels | object | {} |
| logger.level | Log level. The possible values are: info, warning, and error. | string | "warning" |
| metrics.enabled | Enables creating a service which ServiceMonitor finds. | bool | true |
| nats.bucket | NATS bucket. Example: cdrbucket | string | nil |
| nats.consumerName | Existing NATS consumer name. Example: CDF | string | nil |
| nats.poolSize | Number of connections CDF will establish towards NATS. | int | 8 |
| nats.requestTimeout | Number of milliseconds CDF receiver waits for a response after sending a CDR to NATS. | int | 1000 |
| nats.streamName | Existing NATS stream name. Example: CDR | string | nil |
| nats.subject | NATS subject. Example: CDR.arrived | string | nil |
| nats.url | NATS URL. Example: nats://192.168.0.1:12321 | string | nil |
| nats_create.bucket.description | Bucket description | string | nil |
| nats_create.bucket.history | Number of historical values to store per key (default is 1, max is 64). | string | nil |
| nats_create.bucket.max_bucket_size | Maximum storage size for the bucket (in bytes) | string | nil |
| nats_create.bucket.max_value_size | Maximum allowed size per value (in bytes) | string | nil |
| nats_create.bucket.name | Bucket name | string | nil |
| nats_create.bucket.replicas | Number of data replicas to store | string | nil |
| nats_create.bucket.storage | Storage backend type: file or memory. | string | nil |
| nats_create.bucket.ttl | Time to keep values (in nanoseconds) | string | nil |
| nats_create.consumer | NATS consumer configuration. See ConsumersOpens in a new tab and Gnat.JetstreamOpens in a new tab for more information. | object | {"ack_policy":"explicit","ack_wait":null,"deliver_policy":"all","durable_name":null,"filter_subject":null,"max_ack_pending":null,"stream_name":null} |
| nats_create.consumer.ack_policy | Message acknowledgement mode. The possible values are: explicit (a consumer must acknowledge each message; the only allowed option for pull consumers), none (no need to acknowledge messages, the server assumes it on delivery), all (only the last received message must be acknowledged, all previous messages are acknowledged automatically). | string | "explicit" |
| nats_create.consumer.ack_wait | Time in nanoseconds the server waits for an acknowledgement before redelivering. Under high load, CDF may create duplicated CDRs if a message is redelivered. | string | nil |
| nats_create.consumer.deliver_policy | The order in which the consumer starts receiving messages. The possible values are: all (from the earliest available message), last (from the last added message), new (only messages after consumer creation), by_start_sequence (by sequence specifies in opt_start_seq), by_start_time (by timestamp specified in opt_start_time), last_per_subject (from latest per subject). | string | "all" |
| nats_create.consumer.durable_name | Consumer name | string | nil |
| nats_create.consumer.filter_subject | Filter to select messages from a subset when using a wildcard subject. | string | nil |
| nats_create.consumer.max_ack_pending | Maximum unacknowledged messages before suspending delivery. Applies across all subscribers. -1 allows unlimited pending acknowledgements, for example in a case of no flow control. | string | nil |
| nats_create.consumer.stream_name | Stream name | string | nil |
| nats_create.enabled | Specifies whether NATS stream/consumer should be created or not. | bool | false |
| nats_create.stream | NATS Stream configuration. See StreamOpens in a new tab and Gnat.JetstreamOpens in a new tab for more information. | object | {"discard":"new","max_age":null,"max_bytes":null,"max_msgs":null,"name":null,"num_replicas":null,"retention":"workqueue","storage":null,"subjects":null} |
| nats_create.stream.discard | Defines the behaviour when a Stream reaches its limit. The possible options are: old (default) - deletes old messages; new - rejects new messages. | string | "new" |
| nats_create.stream.max_age | Maximum message age in the Stream, in nanoseconds. | string | nil |
| nats_create.stream.max_bytes | Maximum Stream size in bytes. If exceeded, old messages are discarded or new messages are rejected. | string | nil |
| nats_create.stream.max_msgs | Maximum message count in the Stream. If exceeded, CDF follows discard rules to remove the oldest messages or reject new ones. | string | nil |
| nats_create.stream.name | Stream name | string | nil |
| nats_create.stream.num_replicas | Number of replicas for each message. | string | nil |
| nats_create.stream.retention | Message retention policy in the Stream. The possible values are: limits (size limit), interest (only kept if consumers are interested), workqueue (keeps until acknowledged). | string | "workqueue" |
| nats_create.stream.storage | Storage backend type: file or memory. | string | nil |
| nats_create.stream.subjects | Subjects are comma-separated. Example: "asd.,qwe." | string | nil |
| 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.enabled | Must be enabled to deploy CDF Receiver. | bool | false |
| receiver.hostname | Origin-Host in Accounting Answer (ACA) in Diameter Rf interface | string | nil |
| receiver.nodeID | Unique NodeID for the receiver, up to 20 characters. Only used when nats_based is set to true. | string | nil |
| receiver.realm | Origin-Realm in ACA | string | nil |
| receiver.simultaneousIncoming | Number of allowed concurrently incoming Accounting Requests (ACR) in the Diameter Rf interface. The default value is 1000. | int | 1000 |
| receiver.transportOptions.nodelay | Turns on 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 | 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 | 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 | 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" |
| 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, navigate to the Configuration/APN-specific CDF sender configuration document. | object | {} |
| sender.CGFs | List of addresses and ports where CDRs must be sent | list | [] |
| sender.cdr_limit_per_cgf | Maximum number of processes that can send CDRs to a CGF at the same time. | int | 1000 |
| sender.directories | List of unique names for which the sender creates sending processes | list | [] |
| sender.echo | Time interval between consecutive GTP Echo Requests towards CGF in milliseconds. The default value is 60000. Cannot be less. | int | 60000 |
| sender.enabled | Must be enabled to deploy CDF sender. | bool | false |
| sender.responseTimeout | Wait 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 |
| tolerations | Kubernetes tolerations | list | [] |
| vxlanController | vxlan Controller configuration | object | {"enabled":false,"image":"openvnf/kube-vxlan-controller-agent:2.1.0"} |