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

simulating node problems for Image testing #1028

Open
sanjayk0508 opened this issue Feb 18, 2025 · 0 comments
Open

simulating node problems for Image testing #1028

sanjayk0508 opened this issue Feb 18, 2025 · 0 comments

Comments

@sanjayk0508
Copy link

I am planning to perform manual Kubernetes testing on the node-problem-detector image (installed via Helm) to simulate node issues, similar to problem-maker. However, if I understand correctly, problem-maker cannot be used for image-based testing.

I wanted to check if there is an alternative approach to manually test the node-problem-detector image and validate its functionality.

For a comprehensive test, we aim to cover:

  1. Simulating Node Problems – Ensuring NPD detects and reports issues such as OOM kills, Docker daemon hangs, etc.
  2. Prometheus Metrics Testing – Verifying that NPD correctly exports metrics related to node problems for monitoring systems.

This is similar to e2e testing, but I haven’t found any clear workarounds specifically for testing the node-problem-detector image. Are there any recommended methods or existing approaches that I'm missing out? Sorry if similar issue has been raised before.
Any guidance or suggestions would be greatly appreciated!!

@sanjayk0508 sanjayk0508 changed the title Support for simulating/generating node problems in node-problem-detector Image testing simulating node problems for Image testing Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant