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

Out-of-memory if can’t read Kubernetes service account #230

Open
nmaguiar opened this issue Apr 16, 2024 · 0 comments
Open

Out-of-memory if can’t read Kubernetes service account #230

nmaguiar opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels

Comments

@nmaguiar
Copy link
Collaborator

Describe the bug
If, for some reason, the Kubernetes service account that nAttrMon was using with nInput_Init to list the available pods can’t be read, it will start throwing the error but will eventually run into an out-of-memory error.

To Reproduce
Steps to reproduce the behavior:

  1. Configure inputs to list pods using nInput_Init (with the cron setting) and gather metrics from pods
  2. Set the configuration on a nAttrMon Kubernetes pod with an associated service account with the necessary permissions
  3. Change or revoke permissions of the associated service account
  4. See exceptions starting to occur
  5. Eventually the pod will reach an out-of-memory situation

Expected behavior
There should be a log message indicating the listing of pods is no longer possible and it shouldn’t run out-of-memory.

Screenshots
n/a

Additional context
The error hasn’t been reproduce yet successfully so there might be missing steps.

cc: @abrizida

@nmaguiar nmaguiar added the bug label Apr 16, 2024
@nmaguiar nmaguiar self-assigned this Apr 16, 2024
@nmaguiar nmaguiar added this to Backlog in Continuous Enhancement via automation Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant