Skip to main content
Version: Spectra Detect 6.2.0

Loki Secrets and ConfigMap Values

Values

Kubernetes Settings

KeyTypeDefaultDescription
useReloaderstringnilWhether to enable Reloader annotations. When defined, this value takes precedence over global.useReloader.

Application Configuration

KeyTypeDefaultDescription
configobject-Loki configuration values.
config.limits.maxQuerySeriesint500Maximum number of series returned by a query.
config.limits.maxStreamsPerUserint10000Maximum number of streams per user.
config.retentionPeriodstring"168h"Log retention period (e.g., "168h" for 7 days).
config.storage.typestring"filesystem"Storage backend type (filesystem, s3, gcs).

Pod Settings

KeyTypeDefaultDescription
enabledboolfalseEnable or disable the Loki deployment.
hoststring""External Loki host URL. When set, local Loki deployment is skipped and external Loki is used.
imageobject-Configuration values of the loki image.
image.pullPolicystring"IfNotPresent"Image pull policy. Options: Always, IfNotPresent, Never.
image.repositorystring"grafana/loki"Image repository.
image.tagstring"3.5.8"Image tag.
persistenceobject-Loki data storage configuration.
persistence.accessModestring"ReadWriteOnce"Specifies the access mode for the volume.
persistence.enabledbooltrueEnable/disable persistent storage for Loki data.
persistence.sizestring"30Gi"Persistent data storage size.
persistence.storageClassstring""Name of the StorageClass to use.
resourcesobject-Resource requests and limits for the container.
resources.limitsobject-The maximum amount of resources the container is allowed to consume.
resources.limits.cpustring"1000m"CPU limit. Throttling occurs if the container exceeds this value.
resources.limits.memorystring"1Gi"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"256Mi"Memory request.
serviceobject-Service configuration for network access.
service.grpcPortint9096gRPC service port.
service.httpPortint3100HTTP port number the service will listen on.
service.typestring"ClusterIP"Service type determines how the service is exposed.