-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Grafana dashboards do not correctly show Kubernetes 1.16 metrics #18827
Comments
@douglas-reid assigned you to at least point in the right direction. Should we just switch the dashboards to use the new labels? is there some clever prometheus trick (either at query time or at scraping time) to seemlessly query for either of these maybe? |
Ha. I can't even easily spin up a 1.15 cluster at the moment, let alone a 1.16. It was nice of them to make a pointless, but breaking change. If the new way is supported in 1.14 and we are truly no longer supporting 1.13, then we should just update the dashboards. |
I think in the past while we claim to support 3 versions of k8s that was just the messaging we gave, but things worked on plenty of other versions. Right now we have tests for 1.12-1.17 and things seem to work on all versions (we don't run the dashboard test though). I am not sure how many people will be into 1.14 by the time istio 1.5 is out. That being said it is just the resources utilization part of the dashboard, so it's not the end of the world if someone uses an unsupported version and that doesn't work, so I agree, let's just change it. The easiest way to test new versions of Kubernetes is probably https://kind.sigs.k8s.io/ by the way, but it is sort of a pain specifically for this because it doesn't install a metrics server by default. We do have the yamls to get that running at Prow/config/metrics/ |
@howardjohn should we close this now? |
I need to bacmport to the operator still |
fixes istio/istio#18827 backport of istio/istio#18989
fixes istio/istio#18827 backport of istio/istio#18989
Per https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md#removed-metrics,
pod_name
andcontainer_name
, which are widely used in our dashboards, no longer exists. See #18820 for an example where dashboard test fails on 1.16Since Istio 1.5 will support 1.14 through 1.16, we could switch over to only use the new labels if we need to, but maybe something smarter we can do in prom/grafana - not sure.
Here is what a new metric looks like:
@gargnupur @douglas-reid
The text was updated successfully, but these errors were encountered: