Installing Loki, Grafana, Prometheus, and the Demo App

Prerequisites

We’ll run the Loki stack inside a Kubernetes cluster. That’s our first requirement.

We’ll need a Kubernetes cluster with the NGINX Ingress controller. The address through which we can access Ingress should be stored in the environment variable INGRESS_HOST.

That’s it. Those are all the prerequirements.

As always, we’ve prepared Gists for creating clusters based on Google Kubernetes Engine (GKE), AWS Elastic Kubernetes Service (EKS), and Azure Kubernetes Service (AKS).

For this chapter, we’ll experiment with EKS cluster. The Gist for deploying the cluster can be found in this lesson. However, the Gist to install ingress host is given below. For practicing the commands on our platform, all the prerequisites are installed already. We’ll be able to run the commands in the project followed by this chapter.

Get hands-on with 1200+ tech skills courses.