Transition from Docker Containers to Kubernetes

Here is my use case. Current state - leveraging docker test containers to test a monolithic system (groovy spock, and GEB. Future state - we are shifting to a microservices architecture using Kubernetes. Can we continue to leverage test containers within Kubernetes? Is there alternative to using test containers within Kubernetes that would reduce our need to refactor test artifacts and or automation framework?

If you are referring to this, https://www.testcontainers.org/

I don’t think it has an equivalent in kube atleast the last time i check.

There’s some discussion on this here https://github.com/testcontainers/testcontainers-java/issues/1135