Azure Log Query for Kubernetes Deployment Alert

7/11/2021

is there a Query that can tell me how many deployment I have for specific Namespace and if it ready or not.

them I want to make alert from it , so if the deployment status is not ready and lower then the amount I choose it will alert me

I managed to create this Query but It not what I want .

 KubePodInventory
| where Namespace  == 'pm8'
| where ClusterName  == 'dynamic-hermit-aks'
| summarize by  TimeGenerated , Computer , ServiceName , PodStatus
-- user9142877
alert
azure
kubernetes
logging

0 Answers