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

Use hostNetwork for Metricbeat Deployment #7463

Merged
merged 1 commit into from
Jun 28, 2018

Conversation

exekias
Copy link
Contributor

@exekias exekias commented Jun 28, 2018

Metricbeat k8s deployment is used to poll the kube-state-metrics service
for the kubernetes metricset. This configuration results in the metricbeat pod
being reported as a host i.e. beat.name becomes the container name on
all docs. This can be confusing in some visualizations.

With this change the Metricbeat will report the underlying hostname.

This change also removes POD_NAMESPACE as it's not used anymore (since 6.3)

Fixes #7199

@exekias exekias added docs Metricbeat Metricbeat containers Related to containers use case review labels Jun 28, 2018
@exekias exekias force-pushed the metricbeat-k8s-sate-host branch from 4445992 to e93b6a8 Compare June 28, 2018 13:26
Metricbeat k8s deployment is used to  poll the kube-state-metrics service
for the kubernetes metricset. This configuration results in the metricbeat pod
being reported as a host i.e. beat.name becomes the container name on
all docs. This can be confusing in some visualizations.

With this change the Metricbeat will report the underlying hostname.

Fixes elastic#7199
@exekias exekias force-pushed the metricbeat-k8s-sate-host branch from e93b6a8 to 25928c6 Compare June 28, 2018 13:28
@ruflin ruflin merged commit c1e0d06 into elastic:master Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Related to containers use case docs Metricbeat Metricbeat review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants