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
dependabot[bot] e31900336f
chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /operator (#12698)
1 year ago
..
.bingo feat(operator): Upgrade build and runtime dependencies (#12104) 1 year ago
apis feat(operator): Change attribute value used for CCO-based credential mode (#12165) 1 year ago
bundle chore(operator): Update skipRange for next OpenShift release (#12676) 1 year ago
cmd operator: Fix storing authentication credentials in the Loki ConfigMap (#11357) 1 year ago
config chore(operator): Update skipRange for next OpenShift release (#12676) 1 year ago
controllers/loki feat(operator): Change attribute value used for CCO-based credential mode (#12165) 1 year ago
docs docs(operator): improved docs to run using kind (#12576) 1 year ago
hack chore(operator): Update Loki operand to v2.9.6 (#12370) 1 year ago
internal chore(operator) Revert "feat(operator): Add support for Swift TLS CA configuration" (#12693) 1 year ago
jsonnet operator: updates mixins to fix structured metadata dashboards (#11671) 1 year ago
tools operator: Update to Go 1.17 (#5695) 3 years ago
website operator: Update API docs generation using gen-crd-api-reference-docs (#7592) 3 years ago
.dockerignore Merge loki-operator into top-level dir operator 4 years ago
.gitignore operator: Add support for reconciling loki-mixin dashboards on OpenShift Console (#9468) 2 years ago
.golangci.yaml operator: Apply linter on all test files (#11501) 1 year ago
ADOPTERS.md operator: Publish docs as public website (#6449) 3 years ago
CHANGELOG.md chore(operator) Revert "feat(operator): Add support for Swift TLS CA configuration" (#12693) 1 year ago
CONTRIBUTING.md operator: Publish docs as public website (#6449) 3 years ago
Dockerfile fix: updated all dockerfiles go1.22 (#12708) 1 year ago
Dockerfile.cross fix: update to build image 0.33.2, fixes bug with promtail windows DNS resolution (#12732) 1 year ago
Makefile chore(operator): prepare community release v0.6.0 (#12246) 1 year ago
PROJECT operator: Promote AlertingRules, RecordingRules and RulerConfig from v1beta1 to v1 (#8800) 2 years ago
README.md operator: Remove general production use warning (#9598) 2 years ago
_config.yml Merge loki-operator into top-level dir operator 4 years ago
calculator.Dockerfile fix: updated all dockerfiles go1.22 (#12708) 1 year ago
go.mod chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /operator (#12698) 1 year ago
go.sum chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /operator (#12698) 1 year ago
main.go feat(operator): Restructure LokiStack metrics (#12228) 1 year ago
netlify.toml operator: Pin go version used in netlify env (#8861) 2 years ago
quickstart.sh operator: Add support for built-in-cert-rotation for all internal lokistack encryption (#7064) 3 years ago
release-please-config.json chore(operator): set release-as to avoid commit done in #12348 (#12596) 1 year 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.