Alloy Secrets and ConfigMap Values
Values
Kubernetes Settings
| Key | Type | Default | Description |
|---|---|---|---|
| rbac.create | bool | true | Create RBAC resources (ClusterRole and ClusterRoleBinding for log collection). |
| serviceAccount.annotations | object | {} | Annotations to add to the service account. |
| serviceAccount.create | bool | true | Create a service account. |
| serviceAccount.name | string | "" | Name of the service account to use. If empty, a name is generated using the fullname template. |
| useReloader | string | nil | Whether to enable Reloader annotations. When defined, this value takes precedence over global.useReloader. |
Application Configuration
| Key | Type | Default | Description |
|---|---|---|---|
| config | object | - | Alloy configuration values. |
| config.extraLabels | object | {} | Extra labels to add to all collected logs. |
| config.lokiUrl | string | "" | Custom Loki URL for log forwarding. Leave empty to use the deployed Loki instance. |
| config.namespaces | list | ["default"] | List of namespaces to collect logs from. Empty array means all namespaces. |
| config.scrapeInterval | string | "15s" | Scrape interval for log collection. |
Pod Settings
| Key | Type | Default | Description |
|---|---|---|---|
| enabled | bool | false | Enable or disable the Alloy deployment. |
| image | object | - | Configuration values of the alloy image. |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy. Options: Always, IfNotPresent, Never. |
| image.repository | string | "grafana/alloy" | Image repository. |
| image.tag | string | "v1.11.3" | Image tag. |
| resources | object | - | Resource requests and limits for the container. |
| resources.limits | object | - | The maximum amount of resources the container is allowed to consume. |
| resources.limits.cpu | string | "500m" | CPU limit. Throttling occurs if the container exceeds this value. |
| resources.limits.memory | string | "512Mi" | Memory limit. If exceeded, the container may be terminated with an OOMKilled error. |
| resources.requests | object | - | The minimum amount of resources the container is guaranteed. |
| resources.requests.cpu | string | "100m" | CPU request. |
| resources.requests.memory | string | "128Mi" | Memory request. |