uswitch / nidhogg

Kubernetes Node taints based on Daemonset Pods
Apache License 2.0
76 stars 15 forks source link

Feature Request: FirstTimeReady timestamp(unixtimestamp) as gauge metrics. #28

Open dineshkumar181094 opened 3 years ago

dineshkumar181094 commented 3 years ago

Reason - we wanted to measure how fast our node is ready for scheduling. This can be calculated by metrics from kube state metrics (unix timestamp) kube_node_created. If we get metrics from taint controller about at what time(unix timestamp) node is marked ready.

we can make this calculation by subtracting those metrics.

dineshkumar181094 commented 3 years ago

I can also work on this if this make sense, or there is some other work around let me konw.

dineshkumar181094 commented 3 years ago

@Joseph-Irving what do you think is it worthy?