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

[k8s] System Integration Does Not Utilise /hostfs Mounts #6411

Open
pkoutsovasilis opened this issue Dec 19, 2024 · 0 comments
Open

[k8s] System Integration Does Not Utilise /hostfs Mounts #6411

pkoutsovasilis opened this issue Dec 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pkoutsovasilis
Copy link
Contributor

Version:
All current versions of Elastic Agent Helm Chart and old k8s manifests.

Operating System:
Kubernetes

Steps to Reproduce:

  1. Deploy the Elastic Agent using either the Helm Chart or the old manifests with default configurations.
  2. Verify that /proc and /sys are mounted under /hostfs.
  3. Observe that the system integration is not configured to utilise these mounts, leading to the monitoring of only processes visible inside the container.

Description of the Issue:
The Elastic Agent system integration does not correctly utilise the mounted /hostfs paths (/proc and /sys) in the default configurations of both the Helm Chart and the old k8s manifests. As a result, it only monitors the processes within the container, instead of the intended host-level metrics. This issue results in incomplete or incorrect data streams.

Credits:
This issue was identified by @swiatekm

@pkoutsovasilis pkoutsovasilis added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants