logging

by joaquinito2051

Helm chartv1.1.2

Sets up log aggregation infrastructure in Kubernetes, with elasticstack and kibana

About this chart

Logging

This chart implements a log aggregation framework built on elasticsearch within kubernetes.

It requires persistent storage, and currently has default values for the local-provisioner with storage on each k8s node.

Once these prereqs are satisfied, it can be run with:

helm install -n logging logging

(NOTE: the name must be logging currently, or name lookups within the pod are broken)

Current log sources

Using Kibana

Visit: http://<k8s_node_hostname>:30601

Deploy logging with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has logging on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlogging is pinned at v1.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply