Two different versions of loki in 2 different namespaces

  • What Loki version and what operating system are you using?

Loki 2.9.11 and 3.3 on k8s cluster

  • What are you trying to achieve?

Two different versions of loki in 2 different namespaces using helm install method.

We already have one loki 2.9.11 instance in one namespace.
We would like to have latest loki 3.3 instance in separate namespace.

Is this possible ? If yes , I can use nameoverride method to use different release name.

Also, for object storage we have s3 compatible bucket but not exactly aws s3.
For that , what all values I need to configure in values.yaml.
The documentation has loki.storage_config section and loki.storage
Do I have to put values in both sections ?

What do you use to deploy the Helm chart? I don’t see why there would be a problem deploying several Loki clusters running in separate namespaces. How you would achieve that depends a little bit on how you apply/deploy the Helm chart.

Thanks Bob, we are using helm install command ( manually ) to deploy helm charts. I thought the CRDs might clash with different versions of loki.

Which Helm chart do you use? I didn’t think about the CRDs as we do not use them.

I just migrated from the loki-distributed to the loki Helm chart and as part of the migration, I had two Loki deployments, one v2.9.6 and one v3.2.2 running in the same namespace.

Based on that I would assume that you could also run two different version in different namespaces. But if you use CRDs, it could possibly cause some issues.