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

# Installation

This document describes how to install the Monitoring Extension and lists its requirements and dependencies.

## Requirements

Monitoring Extension has the following requirements and dependencies:

- Cennso 2.13+ installed on the Management Cluster
- CCCC Monitoring instance installed on the Management Cluster

## Installation steps

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

### Installation steps (CMC)

### CMC

To install the Monitoring Extension using CMC:

1. In the CMC sidebar, navigate to **Configuration** > **Extensions**.
2. Find **Monitoring Extension** in the list and click **Install**.
3. Follow the on-screen steps to confirm the installation.

### Installation steps (CLI)

### CLI

To install the Monitoring Extension using the CLI:

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

   ```yaml
   apiVersion: extension.cennso.com/v1alpha1
   kind: ClusterInstallation
   metadata:
     name: monitoring
   spec:
     forProvider:
       packageRef:
         name: monitoring
         version: "0.1.0"
   ```

2. Apply the CR to your Management Cluster:

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

3. To verify the installation is complete, run:

   ```bash
   kubectl get clusterinstallations.extension.cennso.com monitoring
   ```

   Sample output:

   ```bash
   NAME                   READY   SYNCED   AGE
   monitoring   True    True     5m
   ```

## Next steps

Now that you have installed the Monitoring Extension, you can:

- [Create an exporter](https://docs.cennso.com/cennso/monitoring/latest/guides/create-exporter.md) to start exporting metrics.
- Read the [Exporter concept page](https://docs.cennso.com/cennso/monitoring/latest/concepts/exporter.md) to learn about the available configuration options.
