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 | IP address 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 metrics, Kubernetes liveness, and readiness | 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_create.bucket.description | Bucket description | string | nil |
| nats_create.bucket.enabled | Enables the creation of a NATS key-value bucket at CDF startup. This resource must be available on the NATS service for proper NATS key-value storage. This option is disabled by default. | bool | false |
| 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.bucket.url | NATS URL. Example: nats://192.168.0.1:4222. | 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,"enabled":false,"filter_subject":null,"max_ack_pending":null,"stream_name":null,"url":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 | 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.enabled | Enables the creation of a NATS consumer at CDF startup. This resource must be available on the NATS service for proper CDR transmission. This option is disabled by default. | bool | false |
| 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.consumer.url | NATS URL. Example: nats://192.168.0.1:4222. | string | nil |
| 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","enabled":false,"max_age":null,"max_bytes":null,"max_msgs":null,"name":null,"num_replicas":null,"retention":"workqueue","storage":null,"subjects":null,"url":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.enabled | Enables the creation of a NATS stream at CDF startup. This resource must be available on the NATS service for proper CDR transmission. This option is disabled by default. | bool | false |
| 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 |
| nats_create.stream.url | NATS URL. Example: nats://192.168.0.1:4222. | string | nil |
| nats_services.archive | NATS stream settings for archiving CDRs | object | {"compression":"none","creds":null,"encoding":"JSON","error_subject":null,"poolSize":8,"requestTimeout":1000,"subject":null,"tls":{"certificates":null,"enabled":false},"url":null} |
| nats_services.archive.compression | Compression used for CDRs stored in the archive. The possible values are: "zlib", "none". | string | "none" |
| nats_services.archive.creds | Name of the Kubernetes secret that contains the NATS user credentials fileOpens in a new tab. The credential file is named user.creds and is generated by the nsc binaryOpens in a new tab. | string | nil |
| nats_services.archive.encoding | Encoding used for CDRs stored in the archive. The possible values are: "ErlangTerm", "JSON". | string | "JSON" |
| nats_services.archive.error_subject | NATS subjectOpens in a new tab for CDR errors. Example: CDR.error | string | nil |
| nats_services.archive.poolSize | Number of connections CDF establishes towards NATS. | int | 8 |
| nats_services.archive.requestTimeout | Number of milliseconds CDF sender waits for a response after archiving a CDR to NATS | int | 1000 |
| nats_services.archive.subject | NATS subject for archiving CDRs. Example: CDR.archived | string | nil |
| nats_services.archive.tls | NATS archive client TLS configuration | object | {"certificates":null,"enabled":false} |
| nats_services.archive.tls.certificates | Name of the Kubernetes secret that contains the NATS TLS certificate filesOpens in a new tab. The files in the secret must be named tls.crt, tls.key, and ca.crt. | string | nil |
| nats_services.archive.tls.enabled | Enables or disables TLS for the NATS client. | bool | false |
| nats_services.archive.url | NATS URL. Example: nats://192.168.0.1:4222 | string | nil |
| nats_services.kv_store | NATS key-value store settings used for storing operational state | object | {"bucket":null,"creds":null,"poolSize":8,"tls":{"certificates":null,"enabled":false},"url":null} |
| nats_services.kv_store.bucket | NATS bucket name. Example: cdrbucket | string | nil |
| nats_services.kv_store.creds | Name of the Kubernetes secret that contains the NATS user credentials fileOpens in a new tab. The credential file is named user.creds and is generated by the nsc binaryOpens in a new tab. | string | nil |
| nats_services.kv_store.poolSize | Number of connections CDF establishes towards NATS | int | 8 |
| nats_services.kv_store.tls | NATS key-value client TLS configuration | object | {"certificates":null,"enabled":false} |
| nats_services.kv_store.tls.certificates | Name of the Kubernetes secret that contains the NATS TLS certificate filesOpens in a new tab. The files in the secret must be named tls.crt, tls.key, and ca.crt. | string | nil |
| nats_services.kv_store.tls.enabled | Enables or disables TLS for the NATS client. | bool | false |
| nats_services.kv_store.url | NATS URL. Example: nats://192.168.0.1:4222 | string | nil |
| nats_services.work_queue | NATS work queue settings for CDR transport | object | {"consumerName":null,"creds":null,"poolSize":8,"requestTimeout":1000,"streamName":null,"subject":null,"tls":{"certificates":null,"enabled":false},"url":null} |
| nats_services.work_queue.consumerName | Existing NATS consumer name. Example: CDF | string | nil |
| nats_services.work_queue.creds | Name of the Kubernetes secret that contains the NATS user credentials fileOpens in a new tab. The credential file is named user.creds and is generated by the nsc binaryOpens in a new tab. | string | nil |
| nats_services.work_queue.poolSize | Number of connections CDF establishes towards NATS. | int | 8 |
| nats_services.work_queue.requestTimeout | Number of milliseconds CDF receiver waits for a response after sending a CDR to NATS | int | 1000 |
| nats_services.work_queue.streamName | Existing NATS stream name. Example: CDR | string | nil |
| nats_services.work_queue.subject | NATS subject for work queue. Example: CDR.arrived | string | nil |
| nats_services.work_queue.tls | NATS work queue client TLS configuration | object | {"certificates":null,"enabled":false} |
| nats_services.work_queue.tls.certificates | Name of the Kubernetes secret that contains the NATS TLS certificate filesOpens in a new tab. The files in the secret must be named tls.crt, tls.key, and ca.crt. | string | nil |
| nats_services.work_queue.tls.enabled | Enables or disables TLS for the NATS client. | bool | false |
| nats_services.work_queue.url | NATS URL. Example: nats://192.168.0.1:4222 | 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 | string | nil |
| receiver.rateLimit | Maximum number of ACRs received per second, limit applied on Rf interface. A higher rate results in the TOO_BUSY code. | int | 1000 |
| receiver.realm | Origin-Realm in ACA | string | nil |
| receiver.sequenceNumberPersistenceInterval | Number of CDRs the receiver processes before persisting the local sequence number | string | nil |
| receiver.sequenceNumberPersistenceTimeInterval | Maximum timespan between attempts to update the persisted local sequence number | string | nil |
| receiver.transportCompression | Compression algorithm used for CDR transmission from the CDF Receiver to the Sender. The possible values are: "zlib", "none". | string | "none" |
| receiver.transportEncoding | Defines the encoding format for CDR transmission from the CDF Receiver to the Sender. The possible values are: "JSON", "ErlangTerm". | string | "JSON" |
| 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.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.rateLimit | Maximum number of CDRs received from NATS per second | int | 1000 |
| sender.responseTimeout | Wait duration for the GTP Response in milliseconds. The default value is 1000. | int | 1000 |
| sender.retries | The number of times a CDR request is retried before failing. | int | 1 |
| sender.sequenceNumberPersistenceInterval | Number of CDRs the receiver processes before persisting the GTP sequence number | string | nil |
| sender.sequenceNumberPersistenceTimeInterval | Maximum timespan between attempts to update the persisted GTP sequence number | string | nil |
| 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"} |