Skip to content
This repository was archived by the owner on Apr 25, 2022. It is now read-only.

Repository files navigation

DEPRECATION NOTICE

This repository is deprecrated and transfered to upstream github.com/grafana/loki. Please re-open any issues and pull-request there.

go testCoveralls githubReport Card

Loki Operator by Red Hat

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.

Development

Requirements:

  1. Running Kubernetes cluster. Our team uses KinD or K3s for simplicity.
  2. 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.