Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

K8s - add Node status metric


#1

Hi,

We need to create alert based on condition when k8s Node goes down. I could not find any metric that shows the status of the node from:
https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/kubernetes-monitoring-integration#metrics

kube-state-metrics seems to expose this info though via kube_node_status_ready metric:

Is there a way to get this metric in NR?

Thanks,


#2

Hi @Olsi.Birbo, to check if a node goes down, you could use the host not reporting alert: https://docs.newrelic.com/docs/infrastructure/new-relic-infrastructure/infrastructure-alert-conditions/create-infrastructure-host-not-reporting-condition

Have you tried that?


#3

The host not reporting alert is good when the node completely fails but their are scenarios such as PLEG checks failing or docker being frozen on the hosts (two that we see the most often) that the node will still be up and reporting but it will be showing as Status: NotReady. This information should be pulled in to NewRelic so it can be alerted on without the use of another tool.

This would be a huge feature request for us as it certainly causes us the most grief.


#4

Thanks for the feedback @matt.burdan ; we are adding the kube_node_status_phase and kube_node_status_condition to the metrics we are reporting for Kubernetes.
There will be an alert for node is not ready.


#5

Hi, when is this feature going to be released?


#6

Hi @Olsi.Birbo1! We don’t have a public timeline to share here and now—please stay tuned and I will try to update this thread as those things get announced. Thanks for checking in!