> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/cdf/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/cdf/latest/installation.md).

# Installation

There are two ways of installing Charging Data Function (CDF):

- [Extension installation](#extension-installation) - install the CDF extension on the Management Cluster. This is a prerequisite for deploying CDF to your Core Cluster.
- [Helm chart installation](#helm-chart-installation) - install CDF using Helm charts. This is an alternative to installing the CDF extension and allows you to deploy CDF without installing the extension on the Management Cluster. However, using Helm charts requires more manual configuration and is recommended only for advanced users.

## Requirements

### Requirements (Custom Resource)

To install the CDF extension, you must meet the [Cennso Core Cluster requirements](https://docs.cennso.com/cennso/cennso/main/requirements/cc-requirements.md).

CDF extension has the following requirements and dependencies:

- Cennso 2.11

In addition, you need to have:

- An access to a [Cennso Managment Cluster](https://docs.cennso.com/cennso/cennso/main/concepts/cluster-architecture.md#management-cluster) to install the CDF extension
- An access to a [Core Cluster](https://docs.cennso.com/cennso/cennso/main/concepts/core-cluster.md) to deploy the CDF workloads

### Requirements (Helm chart)

Before you install CDF, make sure you have [Cennso Data Mesh (CDM)](https://docs.cennso.com/cennso/cdm/main.md) set up in your cluster. CDM provides the communication layer and storage backend for CDF components. If you don't have CDM enabled in your cluster, follow the [CDM installation guide](https://docs.cennso.com/cennso/cennso/main/configuration/cdm-configuration.md) document.

## Installation steps

The following sections describe how to install CDF using either the extension or Helm charts.

### Extension installation

The CDF extension is installed on the Management Cluster in the same way as any other [extension](https://docs.cennso.com/cennso/cennso/main/configuration/extensions.md#install-extensions). You can install it using either the Cennso Management Console (CMC) or the CLI:

#### Extension installation (CMC)

#### CMC

To install the CDF extension using CMC:

1. Go to **Cennso Management → Packages** and choose the **Charging Data Function** tile.
2. Choose the package version, select the target namespace, and specify the extension name.
3. Click **Install** to complete the installation.

#### Extension installation (CLI)

#### CLI

To install the CDF extension using CLI:

1. Create a YAML file (for example: `extension-cdf.yaml`) defining a `ClusterInstallation` Custom Resource (CR). For example:

   ```yaml
   apiVersion: extension.cennso.com/v1alpha1
   kind: ClusterInstallation
   metadata:
     name: cdf
   spec:
     forProvider:
       namespace: cennso-system
       packageRef:
         name: cdf
         version: {PACKAGE_VERSION}
   ```

2. Apply the `ClusterInstallation` CR to your Management Cluster using this command:

   ```bash
   kubectl apply -f ./extension-cdf.yaml
   ```

3. To check if the `ClusterInstallation` CR is installed on the Management Cluster, run:

   ```bash
   kubectl get clusterinstallation cdf -oyaml
   ```

   Sample output:

   ```bash
   status:
     atProvider:
       sources:
       - lastTransitionTime: "2026-02-19T13:37:14Z"
         message: Configuration is installed and healthy
         name: cdf
         status: Installed
         type: ConfigurationPackage
     conditions:
     - lastTransitionTime: "2026-02-19T13:37:14Z"
       reason: Available
       status: "True"
       type: Ready
     - lastTransitionTime: "2026-02-25T12:57:40Z"
       observedGeneration: 1
       reason: ReconcileSuccess
       status: "True"
       type: Synced
   ```

### Helm chart installation

Alternatively, you can install CDF using Helm charts from an [OCI registry](https://helm.sh/docs/topics/registries/).

To install CDF, run:

```bash
helm registry login {REGISTRY_NAME} -u {USERNAME} --password-stdin
helm install {COMPONENT_NAME} oci://{REGISTRY_NAME}/charts/cdf --version {VERSION} -f values.yaml -n {NAMESPACE}
```

To learn how to configure chart parameters to deploy CDF components according to your needs, read [CDFReceiver](https://docs.cennso.com/components/cdf/latest/concepts/cdf-receiver.md) and [CDFSender](https://docs.cennso.com/components/cdf/latest/concepts/cdf-sender.md) concept documents.

For more information about all the configurable chart parameters, see the [Helm chart reference](https://docs.cennso.com/components/cdf/latest/technical-reference/chart-config.md) document.

>**NOTE:** Travelping provides no SLA for the repositories. They are only used for delivery. You must host the Git content, Helm charts, and container images on your own infrastructure to ensure availability as per your operational needs.

## Next steps

### Next steps (Custom Resource)

If you chose to install CDF using an extension, you can now deploy CDF to your cluster. To learn how to deploy CDF, read the [Deployment guide](https://docs.cennso.com/components/cdf/latest/deploy.md). To learn more about CDF components, read [Concepts](https://docs.cennso.com/components/cdf/latest/concepts/concepts.md).

### Next steps (Helm chart)

If you installed CDF using a Helm chart, you can start using it to process charging data. Here are some next steps you can take:

- [Configure storage backend](https://docs.cennso.com/components/cdf/latest/operation-guides/storage.md) for storing your Charging Data Records (CDRs)
- [Archive CDRs](https://docs.cennso.com/components/cdf/latest/operation-guides/archive.md) for troubleshooting and historical analysis
