How To Setup Monitoring On Kubernetes Using Prometheus
How To Setup Monitoring On Kubernetes Using Prometheus
In this document we are using Managed Kubernetes with self-managed nodes. We will learn
how to install Grafana, Prometheus, AlertManager and Loki with persistent volume and
retention period. We will setup dashboard on Grafana and some alerts also for AlertManager.
Pre-requisites:
1. Kubernetes cluster
2. Kubectl
3. Helm
Deploy.yml:
Service.yml:
replicaset.apps/grafana-85f94979d7 1 1 1 4m18s
5. Open Grafana:
- Set Password
- Set Preference (Organization, time zone, theme)
- Create User
- Add Datasource
- Import Dashboards