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
Nima Shirzady 2433c87a3f
fix(operator): Use thanos objstore CA flags for S3 and Swift storage (#22123)
1 day ago
..
.bingo build(operator): update Dockerfile to Go 1.25.9, dependencies, tools and CI (#21504) 2 months ago
api feat(operator): Introduce passthrough tenancy (#20573) 1 week ago
bundle chore(operator): Prepare community release v0.10.2 (#21833) 1 week ago
cmd feat(operator): Add passthrough-gateway component (#20382) 1 week ago
config chore(operator): Prepare community release v0.10.2 (#21833) 1 week ago
docs feat(operator): Introduce passthrough tenancy (#20573) 1 week ago
hack fix(operator): Add STS support in Azure secret creation script (#20833) 2 weeks ago
internal fix(operator): Use thanos objstore CA flags for S3 and Swift storage (#22123) 1 day ago
jsonnet feat(operator): Update Loki operand to v3.6.5 (#20696) 4 months ago
tools
website
.dockerignore
.gitignore
.golangci.yaml chore(operator): move to golangci-lint v2 (#17017) 1 year ago
ADOPTERS.md chore: Fix wording in Loki Operator ADOPTERS.md files (#15406) 1 year ago
CHANGELOG.md chore( operator): Community release 0.10.2 (#21570) 1 week ago
CONTRIBUTING.md
Dockerfile chore(operator): Build operator with 1.26.3 (#21809) 2 weeks ago
Makefile chore(operator): Prepare community release v0.10.2 (#21833) 1 week ago
PROJECT build(operator): update Go to v1.25, dependencies, tools and CI (#20896) 3 months ago
README.md
_config.yml
calculator.Dockerfile chore(operator): Build operator with 1.26.3 (#21809) 2 weeks ago
go.mod chore(operator): Move to go.yaml.in/yaml/v4 (#22063) 6 days ago
go.sum chore(operator): Move to go.yaml.in/yaml/v4 (#22063) 6 days ago
netlify.toml chore(operator): Build operator with 1.26.3 (#21809) 2 weeks ago
passthrough-gateway.Dockerfile feat(operator): Add passthrough-gateway component (#20382) 1 week ago
quickstart.sh fix(operator): Return quickstart script to working condition and improve rootless usage (#19960) 6 months ago
release-please-config.json chore(operator): Make release PRs adhere to new convention for commits (#21834) 3 weeks ago

README.md

Loki Logo

Loki Operator

This is the Kubernetes Operator for Loki provided by the Grafana Loki SIG operator.

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.