Configuring a monitoring and alerting stack using the Prometheus, Grafana, and Alertmanager tools
MicroK8s ships pre-integrated add-ons with Prometheus Operator for Kubernetes, which handles simplified monitoring definitions for Kubernetes services, as well as Prometheus instance deployment and management.
Note
Operators are Kubernetes-specific applications (Pods) that automate the configuration, management, and optimization of other Kubernetes deployments. Operators typically take care of the following:
a. Installing your Kubernetes cluster's specifications and offering initial setup and sizing for your deployment.
b. Reloading Deployments and Pods in real time to accommodate any user-requested parameter changes (hot config reloading).
c. Scaling up or down automatically based on performance data.
d. Backups, integrity checks, and other maintenance tasks should all be performed.
Once the Prometheus add-on is enabled, Prometheus Operator takes care of the...