Skip to content

Installation

Binary releases

Docker images

Tip

All merged PRs on main branch have a docker image release.

Official multi arch container images in ghcr.

docker pull ghcr.io/slok/sloth

Building from source code

Clone the repository and build:

git clone git@github.com:slok/sloth.git && \
cd ./sloth && \
make build && \
ls -la ./bin

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:

helm repo add sloth https://slok.github.io/sloth
helm repo update
helm template sloth/sloth --include-crds