Installation
Binary releases¶
- Using github releases: https://github.com/slok/sloth/releases
- Using asdf: https://github.com/slok/asdf-sloth
- Using Arch linux AUR: https://aur.archlinux.org/packages/sloth-bin
Docker images¶
Tip
All merged PRs on main
branch have a docker image release.
Official multi arch container images in ghcr.
Building from source code¶
Clone the repository and build:
Kubernetes¶
CRDs
Kubernetes installation will require Sloth CRDs to work correctly.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/slok/sloth/v0.11.0/pkg/kubernetes/gen/crd/sloth.slok.dev_prometheusservicelevels.yaml
- https://raw.githubusercontent.com/slok/sloth/v0.11.0/deploy/kubernetes/raw/sloth-with-common-plugins.yaml
Helm directory is here, however, Sloth has helm releases that can be used, example: