Grafana loki helm chart to try out the monolithic setup

I’m using helm chart to try out the monolithic setup. this is my configuration But the status of loki-logging-0 pod always remains in pending state. I saw a message like this
FailedBinding persistentvolumeclaim/storage-loki-logging-0 There is no persistent volume available for this claim and no storage class is set. To solve this problem, I create local directory, StorageClass, PersistentVolume and PersistentVolumeClaim but the problem is not solved. Have you any idea to solve the problem and run Grafana loki?

RAM 4GB
VCPUs 2 VCPU
Disk 40GB

Ubuntu-20.04
docker 20.10.12
kubernetes v1.22.16
rke v1.3.17
helm v3.6.3

Helm command:
helm upgrade --install --namespace loki loki-logging grafana/loki --values loki_values.yml --set loki.auth_enabled=false --set startupapicheck.timeout=5m --debug

Result:
loki loki-canary-56kt8 1/1 Running 0 6m20s
loki loki-gateway-7dc7b8fffd-fvqjg 1/1 Running 0 6m20s
loki loki-logging-0 0/1 Pending 0 2m26s
loki loki-logging-grafana-agent-operator-5d7d9b6d46-94ts5 1/1 Running 0 6m20s
loki loki-logging-logs-l5894 2/2 Running 0 6m17s

loki_values.yaml:
loki:
auth_enabled: false
commonConfig:
path_prefix: “/var/loki”
replication_factor: 1
storage:
type: “filesystem”
rulerConfig:
storage:
type: local
schema_config:
configs:

  • from: 2023-28-09
    store: boltdb
    object_store: filesystem
    schema: v12
    index:
    prefix: index_
    period: 168h
    storage_config:
    boltdb:
    directory: /var/loki/index
    filesystem:
    directory: /var/loki/chunks
    singleBinary:
    replicas: 1

server:
http_listen_port: 3100

ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 5m
chunk_retain_period: 30s
max_transfer_retries: 0

limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h

chunk_store_config:
max_look_back_period: 0s

table_manager:
retention_deletes_enabled: false
retention_period: 0s

create only PersistentVolume and PersistentVolumeClaim for solving

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.