slok / sloth

🦥 Easy and simple Prometheus SLO (service level objectives) generator
https://sloth.dev
Apache License 2.0
2.06k stars 167 forks source link

Feature Request: Provision SLOs from Helm install #514

Open sarasensible opened 1 year ago

sarasensible commented 1 year ago

I am using Helm to install sloth and it would make my life 10000% better if I could specify an SLO inline in the Helm template that would be rendered and applied by Helm.

klubi commented 1 year ago

I took a bit different approach to this. I deploy sloth independently to SLIs/SLOs. Instead I created helm chart with service default SLIs, and I add it as a dependency to microservice helm chart. This way I know what SLIs are defined for given service, as soon as I lookup values file.

sarasensible commented 1 year ago

What I ended up going with is since I am wrapping Helm with Terraform I used Terraform kubectl_manifest to apply SLO templates. Leaving this open though as it is still an unsolved problem IMO.