The test cases under the directory test-k8s
are integration tests to ensure the correctness of the Submarine RESTful API.
You can run these tests either locally or on GitHub Actions.
submarine-dist
directory for building a docker image.Ensure you have setup the KinD cluster or minikube cluster. If you haven't, follow this minikube tutorial
Build the submarine from source and upgrade the server pod through this guide
Forward port
kubectl port-forward --address 0.0.0.0 service/submarine-traefik 8080:80
mvn verify -DskipRat -pl :submarine-test-k8s -Phadoop-2.9 -B