Install alerting and recording rules
In the following milestones you’ll launch Grafana Cloud, navigate to Kubernetes Monitoring, and follow the setup instructions on the page. Toward the end of the journey you’ll build a helm chart and deploy it to a cluster and namespace you define.
Your first step in this journey is to navigate to Kubernetes Monitoring in Grafana Cloud and install alerting and recording rules.
When installed, this deploys two types of rules to Grafana’s built-in Alertmanager:
- Alert Rules trigger when specific statuses or thresholds are met. For example, “Pods crash looping” and “Pods getting stuck in not ready”.
- Recording rules pre-compute commonly used mathematical expressions or complex calculations and store the results as new time series. This process speeds up querying and reduces the time required for calculations.
To install alerting and recording rules, complete the following steps:
Sign in to your Grafana Cloud instance.
Open the menu located in the top left.
Click Infrastructure > Kubernetes.
If this is your first time working with Kubernetes Monitoring, click Start sending data.
Kubernetes Monitoring displays the Cluster configuration tab of the Configuration page.
In the Backend installation section, click Install.
When the rules are installed, you should see the following message: Alert rules and recording rules installed