forked from cilium/tetragon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci/e2e] Uninstall Tetragon after each e2e test
In the case of Kind e2e tests we create a new kind cluster for each test (which is inside docker), install cilium, tetragon, and tracing policies. At the end of each test, we used to just destroy the kind cluster. But the issue here is that eBPF programs are not removed from the host. This commit uninstalls tetragon explicitly to remove all eBPF programs and avoid interference between e2e tests. This does not seem to be an issue when creating a kind cluster locally, installing Tetragon and then deleting the kind cluster without unistalling Tetragon. In that case, all programs seems to be removed. This seems to be only an issue related to kind + lvh + e2e framework and not on real production clusters. Signed-off-by: Anastasios Papagiannis <[email protected]>
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters