Skip to main content
Version: Spectra Detect 6.2.0

Alloy Secrets and ConfigMap Values

Values

Kubernetes Settings

KeyTypeDefaultDescription
rbac.createbooltrueCreate RBAC resources (ClusterRole and ClusterRoleBinding for log collection).
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.createbooltrueCreate a service account.
serviceAccount.namestring""Name of the service account to use. If empty, a name is generated using the fullname template.
useReloaderstringnilWhether to enable Reloader annotations. When defined, this value takes precedence over global.useReloader.

Application Configuration

KeyTypeDefaultDescription
configobject-Alloy configuration values.
config.extraLabelsobject{}Extra labels to add to all collected logs.
config.lokiUrlstring""Custom Loki URL for log forwarding. Leave empty to use the deployed Loki instance.
config.namespaceslist["default"]List of namespaces to collect logs from. Empty array means all namespaces.
config.scrapeIntervalstring"15s"Scrape interval for log collection.

Pod Settings

KeyTypeDefaultDescription
enabledboolfalseEnable or disable the Alloy deployment.
imageobject-Configuration values of the alloy image.
image.pullPolicystring"IfNotPresent"Image pull policy. Options: Always, IfNotPresent, Never.
image.repositorystring"grafana/alloy"Image repository.
image.tagstring"v1.11.3"Image tag.
resourcesobject-Resource requests and limits for the container.
resources.limitsobject-The maximum amount of resources the container is allowed to consume.
resources.limits.cpustring"500m"CPU limit. Throttling occurs if the container exceeds this value.
resources.limits.memorystring"512Mi"Memory limit. If exceeded, the container may be terminated with an OOMKilled error.
resources.requestsobject-The minimum amount of resources the container is guaranteed.
resources.requests.cpustring"100m"CPU request.
resources.requests.memorystring"128Mi"Memory request.