slo-generator can be deployed in Kubernetes using:
-
A k8s
CronJobresource to run theslo-generatorpackage on a schedule. -
A
ConfigMapgenerated from a folder containing SLOs and mounted to theCronJobcontainer. -
A
ConfigMapgenerated from theerror_budget_policy.yamlfile and mounted to theCronJobcontainer.
For a working example, please see this example repo.