-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Metricbeat to support kube-state-metrics version 2.0.0 #21520
Comments
Pinging @elastic/integrations-platforms (Team:Platforms) |
Is there any update on this? |
@ChrsMark this one looks important, we need to check for any breaking change sin ksm 2.0 |
FYI I was doing some tests yesterday with Kubernetes 1.19.7 (GKE) + Kube-state-metrics 2.0.0-rc0 (released a few days ago) and Metricbeat 7.10.2 and all the integration working perfectly fine for the following metricsets:
(I'm not sure if the event module is related with this, but anyway :) ) Apparently no errors in the output:
|
Thanks @eedugon ! For clarity, all Most probably nothing will break with the new versions. What may happen is that we will don't leverage new metrics that will be exposed or some metrics that we expect will not be there. Indeed we need to find the time to check this one. |
Breaking changes in kube-state-metrics v2.0.0 affects Example of replaced metrics:
beats/metricbeat/module/kubernetes/state_container/state_container.go Lines 50 to 53 in e1e6d33
beats/metricbeat/module/kubernetes/state_node/state_node.go Lines 44 to 49 in e1e6d33
|
Great work on the MR @MichaelKatsoulis! Since Kubernetes 1.19, kube-state-metrics v2.x.x is required to be compatible (https://github.com/kubernetes/kube-state-metrics/#compatibility-matrix). Unfortunately this is currently not fully working with the latest 7.14.1 metricbeat. When this is available, it would mean that it's possible to setup a kubernetes cluster with ksm and metricbeat on Kubernetes 1.19 - 1.22. |
Thank you @svonliebenstein!
The support of kube-state-metrics v2.0 will be part of patch release 7.15.1 and new release 7.16. |
Describe the enhancement:
Metricbeat to support
kube-state-metrics
version 2.0.0 for kubernetes 1.17/1.18Describe a specific use case for the enhancement or feature:
As per our compatibility Matrix metricbeat does support kubernetes 1.17/1.18
https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-kubernetes.html#_compatibility_28
As per the
kube-state-metrics
compatibility matrix, kubernetes 1.17/1.18 only fully supportskube-state-metrics version 2.0.0-alpha
:https://github.com/kubernetes/kube-state-metrics#compatibility-matrix
kube-state-metrics version 2.0.0-alpha
is not supported by Metricbeat. Metricbeat comes withkube-state-metrics 1.8.0
.Some clarifications are needed here. Thanks.
The text was updated successfully, but these errors were encountered: