I am trying to install the loki-distributed chart, using S3 for storage. I have deployed the exact same values to 2 other environments, one using Ceph and one using Minio. However, I am getting the following errors after deploying:
failed parsing config: /etc/loki/config/config.yaml: yaml: unmarshal errors: │
│ line 3: field max_look_back_period not found in type config.ChunkStoreConfig │
│ line 7: field shared_store not found in type compactor.Config │
│ line 29: field max_transfer_retries not found in type ingester.Config │
│ line 36: field enforce_metric_name not found in type validation.plain │
│ line 82: field shared_store not found in type boltdb.IndexCfg
These are the relevant Values.yaml:
storage_config:
boltdb_shipper:
active_index_directory: /var/loki/index
cache_location: /var/loki/cache
cache_ttl: 168h
shared_store: filesystem
filesystem:
directory: /var/loki/chunks
aws:
endpoint: "s3.us-gov-west-1.amazonaws.com"
region: "us-gov-west-1"
bucketnames: my-bucket/dir1/dir2
s3forcepathstyle: true
insecure: true
I have confirmed that the pods are mounting the corect ConfigMap, and the ConfigMap is structured according to the docs so i am not sure what I am doing wrong.