How can i use variables in grafana alert queries [ grafana version V9.0.2]

This are my variables i need to use this variables in Grafana alerts queries


This is my queries

I need to replace the pod names with variables
Please let me know how can i achieve this.