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

[metricbeat]Add kubernetes scheduler dashboard #12749

Merged
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Expand Up @@ -257,11 +257,13 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Allow redis URL format in redis hosts config. {pull}12408[12408]
- Add tags into ec2 metricset. {issue}[12263]12263 {pull}12372[12372]
- Add kubernetes metricset `scheduler` {pull}12521[12521]
- Add Kubernetes scheduler dashboard to Kubernetes module {pull}12749[12749]
- Add `beat` module. {pull}12181[12181] {pull}12615[12615]
- Collect tags for cloudwatch metricset in aws module. {issue}[12263]12263 {pull}12480[12480]
- Add AWS RDS metricset. {pull}11620[11620] {issue}10054[10054]
- Add Oracle Module {pull}11890[11890]


*Packetbeat*

*Functionbeat*
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 17 additions & 3 deletions metricbeat/docs/modules/kubernetes.asciidoc
Expand Up @@ -5,8 +5,12 @@ This file is generated! See scripts/docs_collector.py
[[metricbeat-module-kubernetes]]
== Kubernetes module

This module fetches metrics from Kubernetes https://kubernetes.io/docs/admin/kubelet/[kubelet]
agent and https://github.com/kubernetes/kube-state-metrics[kube-state-metrics] service.
This module fetches metrics from Kubernetes several components:

- https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/[kubelet]
- https://github.com/kubernetes/kube-state-metrics[kube-state-metrics]
- https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/[apiserver]
- https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/[scheduler]

All metricsets with the `state_` prefix require `hosts` field pointing to kube-state-metrics
service within the cluster, while the rest should be pointed to kubelet service. Check the
Expand All @@ -17,7 +21,17 @@ The default metricsets are `container`, `node`, `pod`, `system` and `volume`.
[float]
=== Compability

The Kubernetes module is tested with Kubernetes 1.8.0, 1.9.4 and 1.10.0.
The Kubernetes module is tested with Kubernetes 1.13.x and 1.14.x

[float]
=== Dashboard

Kubernetes module is shipped including default dashboards for `apiserver` and `scheduler`.
If you are using HA for those components, be aware that when gathering data from all instances the dashboard will usually show and average of the metrics. For those scenarios filtering by hosts or service address is possible.

Kubernetes scheduler example:

image::./images/metricbeat_kubernetes_scheduler.png[]


[float]
Expand Down
20 changes: 17 additions & 3 deletions metricbeat/module/kubernetes/_meta/docs.asciidoc
@@ -1,5 +1,9 @@
This module fetches metrics from Kubernetes https://kubernetes.io/docs/admin/kubelet/[kubelet]
agent and https://github.com/kubernetes/kube-state-metrics[kube-state-metrics] service.
This module fetches metrics from Kubernetes several components:

- https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/[kubelet]
- https://github.com/kubernetes/kube-state-metrics[kube-state-metrics]
- https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/[apiserver]
- https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/[scheduler]

All metricsets with the `state_` prefix require `hosts` field pointing to kube-state-metrics
service within the cluster, while the rest should be pointed to kubelet service. Check the
Expand All @@ -10,4 +14,14 @@ The default metricsets are `container`, `node`, `pod`, `system` and `volume`.
[float]
=== Compability

The Kubernetes module is tested with Kubernetes 1.8.0, 1.9.4 and 1.10.0.
The Kubernetes module is tested with Kubernetes 1.13.x and 1.14.x

[float]
=== Dashboard

Kubernetes module is shipped including default dashboards for `apiserver` and `scheduler`.
If you are using HA for those components, be aware that when gathering data from all instances the dashboard will usually show and average of the metrics. For those scenarios filtering by hosts or service address is possible.

Kubernetes scheduler example:

image::./images/metricbeat_kubernetes_scheduler.png[]