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

/metrics/resources/v1alpha1 endpoint going away in 1.18 #9

Closed
trungng92 opened this issue Jul 21, 2020 · 4 comments
Closed

/metrics/resources/v1alpha1 endpoint going away in 1.18 #9

trungng92 opened this issue Jul 21, 2020 · 4 comments

Comments

@trungng92
Copy link

In version 1.18, the /metrics/resources/v1alpha1 endpoint will be going away.

https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.18.md

resource metrics endpoint /metrics/resource/v1alpha1 as well as all metrics under this endpoint have been deprecated. Please convert to the following metrics emitted by endpoint /metrics/resource: - scrape_error --> scrape_error - node_cpu_usage_seconds_total --> node_cpu_usage_seconds - node_memory_working_set_bytes --> node_memory_working_set_bytes - container_cpu_usage_seconds_total --> container_cpu_usage_seconds - container_memory_working_set_bytes --> container_memory_working_set_bytes - scrape_error --> scrape_error (#86282, @RainbowMango) [SIG Node]

@RainbowMango
Copy link

To be precise, the /metrics/resources/v1alpha1 endpoint still available in Kubernetes 1.18.

@g3rzi
Copy link
Contributor

g3rzi commented Jul 22, 2020

Cool, thanks for the update!
I think I will leave this option for users that use older versions but send message that it doesn't support from k8s > 1.18

@45Shirley
Copy link

🔥

g3rzi added a commit that referenced this issue Sep 12, 2022
@g3rzi
Copy link
Contributor

g3rzi commented Sep 12, 2022

The API is dynamic so no need to add an error.
Dynamic means that you can run anything after the resource.
I updated in the comments that it has been deprecated.

@g3rzi g3rzi closed this as completed Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants