This repository is deprecrated and transfered to upstream github.com/grafana/loki. Please re-open any issues and pull-request there.
This is the Kubernetes Operator for Loki provided by the Red Hat OpenShift engineering team. This is currently a work in progress and is subject to large scale changes that will break any dependencies. Do not use this in any production environment.
Requirements:
- Running Kubernetes cluster. Our team uses KinD or K3s for simplicity.
- A container registry that you and your Kubernetes cluster can reach. We recommend quay.io.
Build and push the container image and then deploy the operator with make oci-build oci-push deploy IMG=quay.io/my-team/loki-operator:latest
. This will
deploy to your active Kubernetes/OpenShift cluster defined by your local
kubeconfig.
For detailed step-by-step guide on how to start development and testing on Kind and OpenShift, check our documentation
Also, there is a document which demonstrates how to use Loki Operator for development and testing locally without deploying the operator each time on Kind and OpenShift.