do you need to test K8s or just have some external containers to set up, maybe 
using Testcontainers with Docker APi is an alternative? (Advantage is you can 
simpler test it locally)

 Another alternative is to use a CI pipeline script/system instead of 
orchestrating it in maven - at least if there is no plugin which does what you 
need, instead from junit/testng (IT) test cases, using the kubernetes or f8 
client might also be an option.

Gruss
Bernd


--
http://bernd.eckenfels.net
________________________________
Von: Philipp Kraus <philipp.kr...@tu-clausthal.de>
Gesendet: Monday, June 6, 2022 5:38:58 AM
An: users@maven.apache.org <users@maven.apache.org>
Betreff: Kubernetes Build Environment

Hello,

I need some idea how to solve this issue. I have got a MultiMaven project, 
which has got multiple web services. Each service will be run later in a 
container in Kubernetes.
I have found this plugin 
https://www.eclipse.org/jkube/docs/kubernetes-maven-plugin to build everything, 
but I would like to get integration testing within the Kubernetes environment,
Because all services has got a Kafka connection and I would like to run some 
complex integration test directly from the Maven build.

Can you give me some ideas how to do it?

Thanks a lot

Reply via email to