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/production/helm/loki
vyzigold d307a0b11b
Add readmes to individual helm charts (#2233)
5 years ago
..
templates Kubernetes manifests: Remove namespace from cluster-wide resources (#2241) 5 years ago
.helmignore Add loki-stack helm chart 6 years ago
Chart.yaml helm: Add loadBalancerIP option to loki chart (#2238) 5 years ago
README.md Add readmes to individual helm charts (#2233) 5 years ago
values.yaml updating all the images to 1.5.0 release (#2100) 5 years ago

README.md

Loki Helm Chart

Prerequisites

Make sure you have Helm installed and deployed to your cluster. Then add Loki's chart repository to Helm:

$ helm repo add loki https://grafana.github.io/loki/charts

You can update the chart repository by running:

$ helm repo update

Deploy Loki only

$ helm upgrade --install loki loki/loki

Run Loki behind https ingress

If Loki and Promtail are deployed on different clusters you can add an Ingress in front of Loki. By adding a certificate you create an https endpoint. For extra security enable basic authentication on the Ingress.

In Promtail set the following values to communicate with https and basic auth

loki:
  serviceScheme: https
  user: user
  password: pass

Sample helm template for ingress:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
    kubernetes.io/ingress.class: {{ .Values.ingress.class }}
    ingress.kubernetes.io/auth-type: "basic"
    ingress.kubernetes.io/auth-secret: {{ .Values.ingress.basic.secret }}
name: loki
spec:
rules:
- host: {{ .Values.ingress.host }}
    http:
    paths:
    - backend:
        serviceName: loki
        servicePort: 3100
tls:
- secretName: {{ .Values.ingress.cert }}
    hosts:
    - {{ .Values.ingress.host }}