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

# Installation

Traffic Stream Reporter (TSR) consists of three components that are provided as Helm charts. The installation procedure is similar to any usual Helm chart. All three components work independently and are installed using three separate Helm charts. 

>**TIP:** For more information about Helm, read the official [Helm documentation](https://docs.helm.sh/docs/).

## Prerequisites

- Kubernetes cluster v1.18+
- `helm` v3+
- Credentials to the `registry.cennso.com` registry.

## Add TSR repository to local registry

Run this command to add TSR repository to local registry:

```bash
helm repo add {REPOSITORY_NAME} {CHART_REPOSITORY_NAME}
helm repo update
```

## TSR Collector

Run this command to install TSR Collector on your cluster:

```bash
helm install {COMPONENT_NAME} {REPOSITORY_NAME}/tsr-collector -f values.yaml
```

## TSR Sink

Run this command to install TSR Sink on your cluster:

```bash
helm install {COMPONENT_NAME} {REPOSITORY_NAME}/tsr-sink -f values.yaml
```

## TSR Cleaner

Run this command to install TSR Cleaner on your cluster:

```bash
helm install {COMPONENT_NAME} {REPOSITORY_NAME}/tsr-cleaner -f values.yaml
```

## TSR Support

Run this command to install TSR Support that installs service monitors and Grafana dashboards on your cluster:

```bash
helm install {COMPONENT_NAME} {REPOSITORY_NAME}/tsr-support -f values.yaml
```
