Configure Kubernetes Monitoring
Use the Kubernetes Monitoring interface to set up monitoring of your Kubernetes cluster and to install preconfigured dashboards and alerts.
Select a Kubernetes Monitoring approach from the following list. See the Kubernetes Monitoring overview to understand the different approaches.
- Configure Kubernetes Monitoring using Grafana Agent
- Configure Kubernetes Monitoring using Grafana Agent Operator
Notes:
- You must have the Admin role to install dashboards and alerts.
- If you don’t want to use the preconfigured Agent manifests, you can manually deploy and scrape kube-state-metrics. However, if you don’t use Grafana Agent, you cannot monitor events.
Kubernetes integration monitoring
You can use Grafana integrations for Kubernetes to monitor the health and status of services and applications running in your Kubernetes clusters.
Install an integration
Install a Kubernetes integration to begin scraping metrics:
To view the integration catalog in your Grafana Cloud instance, go to Observability > Kubernetes > Configuration > Integrations.
Select the integration for the service you want to monitor.
Select your preferred deployment method, either Grafana Agent or Agent Operator.
Add the provided code snippet to the grafana-agent configmap. Be sure to modify the URL entries to reflect your environment.
Click Install. Installed integrations will display a green checkmark on their tile.
If you’d like to install an integration that is not available in the integration catalog, you can use embedded Agent exporters and integrations by configuring them manually. To learn how, see integrations_config.
Reinstall or upgrade Kubernetes Monitoring
Grafana Agent, dashboards, alerting rules, recording rules, kube-state-metrics, and Kubernetes manifests are updated regularly. You must update these components manually to take advantage of any updates. See how to update Kubernetes Monitoring components.