Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/operator
Mohamed-Amine Bouqsimi 4103b32d0a
operator: Use cluster monitoring alertmanager by default on openshift clusters (#7272)
3 years ago
..
.bingo operator: Golang version to 1.18 and k8s client to 1.24 (#6741) 3 years ago
apis operator: Add extended-validation for rules on OpenShift (#7295) 3 years ago
bundle operator: Use cluster monitoring alertmanager by default on openshift clusters (#7272) 3 years ago
cmd Replace deprecated `io/ioutil` with `io` and `os` packages (#7212) 3 years ago
config operator: Use cluster monitoring alertmanager by default on openshift clusters (#7272) 3 years ago
controllers/loki operator: Use cluster monitoring alertmanager by default on openshift clusters (#7272) 3 years ago
docs operator: Add lokistack operations alerts and sop (#6951) 3 years ago
hack operator: Fixing logcli pod image value for operator addons (#6997) 3 years ago
internal operator: Use cluster monitoring alertmanager by default on openshift clusters (#7272) 3 years ago
tools operator: Update to Go 1.17 (#5695) 3 years ago
website docs: fix typo in layout (#7071) 3 years ago
.dockerignore Merge loki-operator into top-level dir operator 4 years ago
.gitignore operator: Publish docs as public website (#6449) 3 years ago
.golangci.yaml Merge loki-operator into top-level dir operator 4 years ago
ADOPTERS.md operator: Publish docs as public website (#6449) 3 years ago
CHANGELOG.md operator: Use cluster monitoring alertmanager by default on openshift clusters (#7272) 3 years ago
CONTRIBUTING.md operator: Publish docs as public website (#6449) 3 years ago
Dockerfile Update alpine and golang base images (#6897) 3 years ago
Dockerfile.cross Update alpine and golang base images (#6897) 3 years ago
Makefile operator: Add lokistack operations alerts and sop (#6951) 3 years ago
PROJECT operator: Bump loki.grafana.com/LokiStack from v1beta to v1 (#6474) 3 years ago
README.md operator: Add network tenant for netobserv (#6769) 3 years ago
_config.yml Merge loki-operator into top-level dir operator 4 years ago
bundle.Dockerfile operator: Changing channel to stable (#6795) 3 years ago
calculator.Dockerfile Update alpine and golang base images (#6897) 3 years ago
go.mod operator: Add extended-validation for rules on OpenShift (#7295) 3 years ago
go.sum operator: Configure gateway to honor the global TLS security profile (#6870) 3 years ago
main.go operator: Add extended-validation for rules on OpenShift (#7295) 3 years ago
netlify.toml operator: Publish docs as public website (#6449) 3 years ago
quickstart.sh operator: Add shellcheck disables (#6460) 3 years ago

README.md

Loki Logo

Loki Operator

This is the Kubernetes Operator for Loki provided by the Grafana Loki SIG operator. 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.

Hacking on Loki Operator on kind or OpenShift

  • If you want to contribute to this repository, you might need a step-by-step guide on how to start hacking on Loki-operator with kind.
  • Also, there is a step-by-step guide on how to test Loki-operator on OpenShift.
  • There is also a basic troubleshooting guide if you run into some common problems.
  • There is also a document which demonstrates how to use Loki Operator for development and testing locally without deploying the operator each time on Kind and OpenShift using the make run command.

Sending Logs to Loki

Sending Logs Through the Gateway Component

Sending Logs Directly to the Distributor Component

  • The forwarding logs to LokiStack without LokiStack Gateway is used to send application, infrastructure, audit and network logs to the Loki Distributor as different tenants using Fluentd or Vector.
  • The guide has a step-by-step guide to connect with OpenShift Logging or OpenShift Network for forwarding logs to LokiStack.

Installation of Storage Size Calculator on OpenShift

  • Storage size calculator works out of the box on OpenShift. For non-openshift distributions you will need to create services like prometheus, serviceMonitor, scrape configuration for log-file-metric exporter, promsecret to access the custom prometheus URL, token.
  • The step-by-step guide on how to install storage size calculator on OpenShift is available.
  • Also, there is a step-by-step guide on how to contribute to this along with local development and testing procedure.
  • There is also a basic troubleshooting guide if you run into some common problems.