Collecting logs from Scalar products on a Kubernetes cluster
This document explains how to deploy Grafana Loki and Promtail on Kubernetes with Helm. After following this document, you can collect logs of Scalar products on your Kubernetes environment.
If you use a managed Kubernetes cluster and you want to use the cloud service features for monitoring and logging, please refer to the following document.
Prerequisites
- Create a Kubernetes cluster.
- Create a Bastion server and set
kubeconfig
. - Deploy Prometheus Operator (we use Grafana to explore collected logs)
Add the grafana helm repository
This document uses Helm for the deployment of Prometheus Operator.
helm repo add grafana https://grafana.github.io/helm-charts
helm repo update