Skip to content

Monitor the K8s cluster

Jonas Umland edited this page Mar 29, 2021 · 1 revision

Log Collection

For log collection a loki-grafana stack is installed in the monitoring namespace of the cluster. This monitoring system can be used for all namespaces of the cluster. The configuration of grafana itself(e.g. dashboards, users) are stored on a persistent volume. The logs itself are not stored persistently and may be lost eventually. More information about how it was installed here.

Usage

The Grafana frontend is available here. The credentials are admin/admin . After login do not change the credentials. Instead click skip. You will then see a dashboard we created for the porsche-mpci namespace. Alternatively you can click on the compass icon in the toolbar on the left. Then click Explore. Then you will be on a page where you can query all logs using the LogQL querying language.