Easy Monitoring + Logging Stack in Kubernetes Cluster With Helm

There are many helm chart available on internet. I prefer to use from https://artifacthub.io/ because i see the stack always updated/maintained. From there i found 2 most used choice : ELK Stack, and Loki + Prometheus + Grafana Stack.

In ELK Stack, filebeats used to collect log from pod that stored in node filesystem. We may use logstash if we want transform the log. The log will be send to elasticsearch. Kibana will use visualization data that originated from elasticsearch. For installation, we must install stack and configure filebeats, logstash (optional), elasticsearch, and kibana one by one. Although the configuration is easy enough. Just edit the values.yaml according to our needs.

In Loki + Prometheus + Grafana Stack. Same like above, Promtail used for log collecting, data saved in loki, and visualized in grafana. For the monitoring, it used kube-state-metrics and prometheus-node-exporter. For Installation, we just install and do a little config twice. First, install the kube-prometheus-stack. Second, install the loki-stack without grafana dashboard (edit in values.yaml). Third, we use grafana dashboard in kube-prometheus-stack, and add loki datasource for logging.

So i think the Loki + Prometheus + Grafana stack is easier.

--

--

--

Interested in Software Engineering, Devops. 🌐: abdillah.my.id . Made with ☕ from 🇲🇨

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Pocket Core RC-0.4.2 Protocol Update

Confluent: Developing a Streaming Microservices Application

The iOS 16 Experience

FOOTIE+ Presale/DO Whitelist Opens — Closing Soon!

Flutter Bloc Architecture

Productive Visual Studio Tips

UpBots Xmas Wrap-up: 24 December 2021

VSCode Extensions I’m in LOVE with

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Herbert Abdillah

Herbert Abdillah

Interested in Software Engineering, Devops. 🌐: abdillah.my.id . Made with ☕ from 🇲🇨

More from Medium

Setup Elasticsearch Cluster and Kibana in Local

Getting started on Prometheus

Docker Monitoring Stack with Grafana

Monitor Windows Server Resources Using Prometheus & Analyze Using Grafana