> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plerion.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Helm chart options

> Customize the deployment of Plerion's collector manager by setting Helm chart values directly or with a values.yaml file.

## Configurable parameters

The `collector-manager` Helm chart includes parameters to customize the deployment of the Plerion Collector Manager.

You can set these values in two ways:

* Use the `--set key=value[,key=value]` flag when running `helm install` or `helm upgrade`.
* Provide a `values.yaml` file for a more organized configuration.

| Parameter                         | Description                                                                                                                                                                       | Default                   |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| `collector.replicaCount`          | Number of replicas for the collector-manager deployment.                                                                                                                          | `2`                       |
| `collector.httpClient.maxRetries` | Maximum number of retries for all HTTP clients used by the collector-manager.                                                                                                     | `3`                       |
| `collector.httpClient.maxBackoff` | Maximum time to wait before retrying an HTTP request.                                                                                                                             | `30s`                     |
| `collector.httpClient.minBackoff` | Minimum time to wait before retrying an HTTP request.                                                                                                                             | `1s`                      |
| `collector.k8sClientLimits.QPS`   | Queries-per-second limit for the Kubernetes client.                                                                                                                               | `20.0`                    |
| `collector.k8sClientLimits.Burst` | Burst limit for the Kubernetes client.                                                                                                                                            | `40.0`                    |
| `collector.azWorkloadIdentity`    | Enable Azure Workload Identity. When set to `true`, adds the label `azure.workload.identity/use: "true"` to collector manager pods.                                               | `false`                   |
| `image.pullPolicy`                | Image pull policy.                                                                                                                                                                | `IfNotPresent`            |
| `nameOverride`                    | Override the name of the chart.                                                                                                                                                   | `""`                      |
| `fullnameOverride`                | Override the full name of the chart.                                                                                                                                              | `""`                      |
| `serviceAccount.create`           | Whether a service account should be created. If set to `false`, the chart does not generate service account, cluster role, cluster role binding, role, or role binding resources. | `true`                    |
| `serviceAccount.annotations`      | Annotations to add to the service account.                                                                                                                                        | `{}`                      |
| `serviceAccount.name`             | Name of the service account to use. If not set and `serviceAccount.create` is `true`, a name is generated using the fullname template.                                            | `""`                      |
| `podAnnotations`                  | Additional annotations for pods.                                                                                                                                                  | `{}`                      |
| `priorityClassName`               | Priority class assigned to pods.                                                                                                                                                  | `system-cluster-critical` |
| `podSecurityContext`              | Pod-level security context settings.                                                                                                                                              | `{}`                      |
| `securityContext`                 | Container-level security context settings.                                                                                                                                        | `{}`                      |
| `service.metrics.port`            | Port for the metrics service.                                                                                                                                                     | `8080`                    |
| `service.health.port`             | Port for the health service.                                                                                                                                                      | `8081`                    |
| `resources.requests.cpu`          | CPU resources requested by the pod.                                                                                                                                               | `1`                       |
| `resources.requests.memory`       | Memory resources requested by the pod.                                                                                                                                            | `2048Mi`                  |
| `resources.limits.cpu`            | Maximum CPU resources allowed for the pod.                                                                                                                                        | `2`                       |
| `resources.limits.memory`         | Maximum memory resources allowed for the pod.                                                                                                                                     | `4096Mi`                  |
| `nodeSelector`                    | Node selector for pod assignment.                                                                                                                                                 | `{}`                      |
| `tolerations`                     | Tolerations for pod scheduling.                                                                                                                                                   | `[]`                      |
| `affinity`                        | Pod affinity rules.                                                                                                                                                               | `{}`                      |

***

## Example usage

Install the `collector-manager` chart with custom configuration:

```shell theme={"system"}
helm install plerion-collector-manager plerion/collector-manager \
  -n plerion-system \
  --set collector.replicaCount=2
```

Or use a YAML values file:

```
helm install plerion-collector-manager plerion/collector-manager \
  -n plerion-system \
  --values values.yaml
```
