ITNEXT

ITNEXT is a platform for IT developers & software engineers to share knowledge, connect, collaborate, learn and experience next-gen technologies.

Follow publication

Member-only story

Journey Of A Microservice Application In The Kubernetes World

Luc Juggery
ITNEXT
Published in
6 min readSep 18, 2022

--

Photo by Davyn Ben on Unsplash

TL;DR

In the previous article we explained how to use GitOps with Argo CD to set up the Continuous Deployment part of the CI/CD pipeline. We will now deploy the Loki stack to get application logs and metrics.

Articles in this series

In a nutshell the Loki stack from Grafana Labs is a multi components application that can be installed into a Kubernetes cluster and which allows users to view logs and metrics using Grafana. In this short article we won’t go into the details of this stack but we will show how it can be installed and used in a simple way to monitor the webhooks application.

As many application in the Kubernetes world the Loki stack is available as a Helm chart:

Loki stack helm chart is available from the artifacthub

Using the helm binary, the stack can be installed using the following command:

# Adding grafana repo
$ helm repo add grafana https://grafana.github.io/helm-charts
# Installing the stack
$ helm install my-loki grafana/loki --version 3.0.7 --set grafana.enabled=true --set prometheus.enabled=true

In this example we enabled both grafana and prometheus as they are not enabled in the stack by default (only the components related to the logs management are installed by…

--

--

Published in ITNEXT

ITNEXT is a platform for IT developers & software engineers to share knowledge, connect, collaborate, learn and experience next-gen technologies.

Written by Luc Juggery

Docker & Kubernetes trainer (CKA / CKAD), 中文学生, Learning&Sharing

Write a response