Member-only story
Using Helm without Tiller (example with Grafana + Loki)
There are loads of Helm charts around, but what if you don’t want to install Tiller in your cluster? This can have security reasons, because by default Tiller runs with admin rights. Restricting or securing these results in more maintenance.
- Part 1: (this article) Helm2 without Tiller
- Part 2: Helm3 without Tiller
I would recommend using Helm3 (part 2) if you can. Else it is still interesting to see how we can apply yaml from a Helm chart manually, what we’ll do in this article.
Today we’ll install Grafana and Loki from a Helm chart manually using kubectl apply
. But you can translate this method onto any other chart.
Grafana is the open source analytics & monitoring solution for every database.
Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus.
TL;DR
use helm fetch
and helm template
.
Normal way using Tiller
The installation instructions for Loki are:
helm repo add loki https://grafana.github.io/loki/charts
helm repo update
helm upgrade --install loki --namespace=loki-stack loki/loki-stack