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