kubedock icon indicating copy to clipboard operation
kubedock copied to clipboard

Kubedock does not remove pods after test finishes

Open rcgeorge23 opened this issue 1 year ago • 2 comments

I am using java / junit / testcontainers with Kubedock to spin up a bunch of containers for a test.

After the test has finished, the containers are not removed immediately, but they are eventually cleaned up after an hour or so.

Is this expected behaviour?

To get around this I have added an afterAll hook that explicitly removes the pods, which works fine, but I wonder whether something is misconfigured as from the docs it sounds like pod removal should happen automatically after the test has finished.

rcgeorge23 avatar Oct 05 '22 15:10 rcgeorge23

It doesn't look to be the case always and I haven't been able to reproduce myself. Do you have a small project which can trigger this behaviour?

joyrex2001 avatar Oct 05 '22 19:10 joyrex2001

Yep, I will try

rcgeorge23 avatar Oct 07 '22 07:10 rcgeorge23