Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Don't allow Tetragon instance to run when there is another one running #2672

Closed
2 tasks done
inliquid opened this issue Jul 14, 2024 · 2 comments · Fixed by #2747
Closed
2 tasks done

Don't allow Tetragon instance to run when there is another one running #2672

inliquid opened this issue Jul 14, 2024 · 2 comments · Fixed by #2747
Assignees
Labels
kind/enhancement This improves or streamlines existing functionality

Comments

@inliquid
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

This is a follow up of discussion with @kkourt and @tixxdz. Currently Tetragon should be run as the single instance on a node (kernel). Otherwise its behavior can be unpredictable: instances can interfere on eBPF programs and/or maps, both on startup an cleanup. Tetragon writes an error to logfile if it sees another instance already up and running, but we would like to prevent it from starting. There is real-world case, our customer said they would like to "experiment" with Tetragon on a node while there is already an instance which protects this node. These experiments may lead to errors and they can break protection they have.

Describe the feature you would like

Tetragon should not start if it sees there is another instance already up and running. Error message should say that the reason for that, is possible unpredictable behavior because of the interference between instances.

Describe your proposed solution

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@inliquid inliquid added the kind/enhancement This improves or streamlines existing functionality label Jul 14, 2024
@inliquid
Copy link
Contributor Author

I will implement it and prepare PR.

@kkourt
Copy link
Contributor

kkourt commented Jul 22, 2024

@inliquid thanks, I've assigned the issue to you.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/enhancement This improves or streamlines existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants