kube-apiserver availability calculation using PromQL
21 views
Skip to first unread message
mahmoud shiri varamini
unread,
Jun 22, 2020, 10:20:33 AM6/22/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Hi, I'm trying to monitor my Kubernetes cluster availability. I'm scraping kube-apiserver metrics and calculate availability according to pods availability. Some time cluster downs and kube-apiserver pods down and Prometheus server is not able to scrape at all and sometime lube-apiserver pods are up and running and also serving requests but due to network connectivity or any other reason Prometheus server can not scrape metrics. But I should consider that api-server pods are available and did not respond and pods are down and even Prometheus can not scrape metrics due to network connectivity issues. Is there any way to use PromQL to ignore no vales when I'm trying to calculate availability percent?
mahmoud shiri varamini
unread,
Jun 28, 2020, 2:52:32 AM6/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message