Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to get "kube_node_status_phase" metric #64

Closed
amolsh opened this issue Dec 27, 2016 · 3 comments
Closed

Not able to get "kube_node_status_phase" metric #64

amolsh opened this issue Dec 27, 2016 · 3 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@amolsh
Copy link

amolsh commented Dec 27, 2016

I am running Kubernets on coreos. For monitoring, I am using Prometheus, Grafana and kube-state metrics.
I wanted to check status of nodes in cluster , whether they are running or not. I thought, I could get info from "kube_node_status_phase" metric. But , it is not showing in prometheus. Except this, I am able to see all metrics.
Can anyone help me to sort this out?

@brancz
Copy link
Member

brancz commented Jan 10, 2017

The kube_node_status_phase metric is only set if it is actually set on the object. A quick check on my clusters showed that is it actually never set. So I looked at the documentation and it revealed, that it is deprecated and never set.

As we are trying to reflect the API as much as possible I think the best thing to do is to just remove that metric entirely. What were you hoping to observe with this metric? Does the kube_node_status_ready suffice?

@fejta-bot
Copy link

Issues go stale after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 19, 2017
@andyxning
Copy link
Member

Close this as the comment by @brancz has state the reason for not having kube_node_status_phase.

@amolsh Please re-open this if you still have some questions. :)

arajkumar pushed a commit to arajkumar/kube-state-metrics that referenced this issue Dec 15, 2021
[bot] Bump openshift/kube-state-metrics to v2.2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

5 participants