-
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] Access Kubernetes metrics from somewhere other than the read-only kublet port #10937
Comments
Hi @dpankros , metricbeats do not enforce the read only kubelet port, you can use the commented settings here if executing as a daemonset something like this should work on a regular kubernete cluster
|
@dpankros we will be closing this because of inactivity, if the comment above didn't solve the issue, please re-open |
@odacremolbap Hopefully this comment is not too much of a resurrection, but I have a question regarding the page and what you posted. Those seem to be the instructions for running metricbeat as a pod within the cluster. But what about the correct configuration for running it outside of the cluster? Simply using |
In master we have changed this to use the secured port by default. I'm wondering if it would be worthwhile to backport this at least to 7.6. Those three lines tested working for me under 7.5. |
Backlog grooming: Closing it for now until further activity, can still be reopened if needed. |
Currently, it appears that metricbeat fetches metrics for kubernetes from the read-only http-metrics port (10255). Using this port is now deprecated. Kubernetes metrics need to be fetched through some other mechanism in the near future.
To make matters worse, the AWS EKS AMI has dropped support for the readonly port in recent versions. Out of the box, metricbeat no longer works on EKS without doing some custom work to the kubelet on the node. We upgraded recently to gain the benefit of other fixes implemented in the recent AMIs (like logrotate) and now we don't see any pod metrics.
This is somewhere between a bug and an enhancement.
The text was updated successfully, but these errors were encountered: