> For the complete documentation index, see [llms.txt](https://docs.cennso.com/cennso/cdm/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/cennso/cdm/latest/installation.md).

# Installation

>![NOTE] Cennso Data Mesh (CDM) is installed in Cennso by default. You can, however, install it manually if such necessity occurs.

This document describes how to install Cennso Data Mesh (CDM) and lists its requirements and dependencies.

## Requirements

CDM has the following requirements and dependencies:

- Crossplane 2.0+ installed on the Management Cluster
- Cennso Extension Provider 1.0.0 installed on the Management Cluster
- Helm Provider 0.20.4 installed on the Management Cluster

## Installation steps

CDM is installed on the Management Cluster either using Cennso Management Console (CMC), as any other [extension](https://docs.cennso.com/cennso/cennso/main/configuration/extensions.md#install-extensions), or the CLI:

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

   ```yaml
   apiVersion: extension.cennso.com/v1alpha1
   kind: ClusterInstallation
   metadata:
     name: extension-cdm
   spec:
     forProvider:
       packageRef:
         name: cdm
         version: "1.1.0"
       values:
         cdm-node:
           k8sClusterName: cccc-my-management-cluster
     providerConfigRef:
       name: default
   ```

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

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

3. To check if the `extension-cdm.yaml` package is installed on the Management Cluster, run:

   ```bash
   kubectl get clusterinstallations.extension.cennso.com extension-cdm
   ```

   Sample output:

   ```bash
   NAME           READY   SYNCED   EXTERNAL-NAME  AGE
   extension-cdm  True    True     extension-cdm  132m
   ```
