khuedoan / homelab

Fully automated homelab from empty disk to running services with a single command.
https://homelab.khuedoan.com
GNU General Public License v3.0
8.19k stars 762 forks source link

Loki values file is invalid #39

Closed dexter136 closed 2 years ago

dexter136 commented 2 years ago

https://github.com/khuedoan/homelab/blob/9b51109cae23cd3bf823ee93288a4b45e4a87683/system/loki/values.yaml#L1-L3

This needs to be under the heading loki-stack:. Currently this does not enable the service monitor, as the values are not read.

khuedoan commented 2 years ago

Thanks! Fixed in 4ac77de79e126413e2be71c8b9faaa68542a077a.

dexter136 commented 2 years ago

I did not state that properly. The configuration should be:

loki-stack:
  loki:
    serviceMonitor:
      enabled: true

As an example, here is my values file. I also setup a PVC for storage, set the retention period to 10 days, and enabled service monitor on promtail. https://github.com/dexter136/homelab/blob/master/monitoring-system/loki/values.yaml

khuedoan commented 2 years ago

I need some coffee lol. Fixed in 6fd1ba1