'Grafana Alerts showing No Data

I have a running Kubernetes cluster on AKS. I installed Grafana and now configured alerts on it. So basically, I created a new dashboard and I created some alerts on it. Below are the queries which I used.

enter image description here

enter image description here

But when I go and check the alert rules, it says "No Data"

enter image description here

The alerts also doesn't show any Data

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source