-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[Infra UI] Kubernetes kluster nodes and capacity incorrect #29497
Comments
Pinging @elastic/infrastructure-ui |
From https://www.elastic.co/guide/en/beats/metricbeat/6.5/running-on-kubernetes.html:
Does your setup follow this documentation? Can you add your configuration to this issue? Please take care to remove all sensitive information like passwords or internal IPs. |
A week ago I upgraded all ELK components to version 6.6.1. A problem stays the same.
|
Hi @sergeydeg, Daemonsets don't run in master nodes by default, if you want to change that behavior you can add this to Metricbeat Pod spec in the Daemonset:
You have a full example here: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#create-a-daemonset Please report back, I'm considering adding a comment about this in the default manifests we ship |
We have the same issue. "Node Disk Capacity" seems to be calculated correctly, "Node CPU Capacity", "Node Memory Capacity" and "Node Pod Capacity" not. I also checked if the used fields for calculation are present and contain valid values Present and contain valid values but capacity still remains at 0 in visualizations and 0% in summary overwiev |
Hi @exekias, I can't find source code for Infra UI, is it publicity available? |
Node capacity is calculated based on information coming from the node kubelet. Are you seeing any error in Metricbeat logs? Source for Infrastructure UI is located here: https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra |
I may found out what the problem is.
particular position: "{"gte":1555061944736,"lte":1555065544736,"format":"epoch_millis"}}},{"match":{"host.name":"redacted"}}]}}" But host.name has always the value of the worker running metricbeat with the state_* kubernetes metricsets which runs on only one worker. I verified this by checking the metrics of the specific broker running the state_* metricsets in the infra ui and could see that the metrics are calculated and represented correctly Shouldn't the query match against the kubernetes.node.name field to get correct values? |
@simianhacker could you chime in here please? |
For the CPU Capacity chart, we are querying the We are doing the same thing for Memory Capacity Chart except the @exekias Let me know if these are the wrong fields and we can file an issue to update to something more appropriate. |
State metrics are reported from a single host, as they are global to the cluster. This means that If you are filtering by |
I'm going to close this since it was fixed by the PR mentioned above. If you are still having issue please re-open. |
Kibana version: 6.5.4
Elasticsearch version: 6.5.4
Server OS version: CentOS 7
Browser version: Google Chrome 71.0.3578.98
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): YUM
Describe the bug:
Having on-premise Kubernetes cluster (v.1.12.3) instantiated with Kubeadm. Metricbeat 6.5.3 installed.
Steps to reproduce:
Expected behavior:
Master nodes must be visible also.
Kubernetes metrics must show correct numbers
Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: