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

# Cennso components installation

Cennso components are delivered as Helm charts that refer to corresponding OCI containers.

## Prerequisites

To install Cennso components, you must meet the following requirements:

- Have a [Helm client](https://helm.sh/docs/intro/install) v3.9.2 or newer
- Have a [Kubernetes client](https://kubernetes.io/docs/tasks/tools) v1.18 or newer
- Access to the Kubernetes cluster 1.18 or newer

## Add Cennso Universal Registry to Helm repositories

The following instruction will add Cennso Universal Registry (CUR) to your local Helm repositories. CUR cannot be used with production and strategic systems - please read [Cennso Universal Registry](https://docs.cennso.com/cennso/cennso/1.0/registry.md) documentation.

1. Add CUR to Helm repositories

   ```bash
   helm repo add "cennso" "https://registry.cennso.com/chartrepo/${project}" --username "${username}" --password "${password}"
   ```

   , where:

   - `${project}` should be replaced with solution related project in CUR
   - `${username}` should be replaced with your username
   - `${password}`  should be replaced with your password or token

2. Update repositories index

   ```bash
   helm repo update
   ```

3. Verify the list of components

   ```bash
   helm search repo "cennso/"
   ```

## Component installation

To install components on the cluster, you must use a Helm client. With our example, we will use the previously integrated `cennso` repository.

1. Install an example component on the cluster

   ```bash
   helm install ${name} cennso/${component} --namespace ${namespace} --create-namespace
   ```

   , where:

   - `${name}` is the Helm release name that must be unique within the namespace
   - `${component}` is the component Helm chart name
   - `${namespace}` is the name of the namespace where the component will be installed

2. Check if the component was installed successfully

   ```bash
   helm status ${name}
   ```
   , where:

   - `${name}` is the Helm release name set in the previous step

3. Check if all pods are running

   ```bash
   kubectl get pods -n ${namespace}
   ```

   , where:

   - `${namespace}` is the name of the namespace where the component was installed

## Component configuration

Every Cennso component can be configured with custom values. To see what are the default values, use the following command:

```bash
helm show values cennso/${component}
```

To see what are the configuration options, please read the corresponding component documentation and prepare a proper values file that will override default values and apply it to the cluster with the following command:

```bash
helm install ${name} cennso/${component} -f ${values} --namespace ${namespace} --create-namespace
```

, where:

- `${values}` is the path to the file with overrides

## Component upgrade

When you want to modify the configuration of the component or upgrade it to the new release, you can use `helm upgrade` command.

>**NOTE:** When upgrading to the new release, please read the migration guide that will guide you step by step through the update process.

```bash
helm upgrade -f ${values} ${name} cennso/${component}
```

, where:

- `${name}` is the Helm release name that identifies a component instance
- `${component}` is the component Helm chart name
- `${namespace}` is the name of the namespace where the component was installed
- `${values}` is the path to the file with overrides
