Spring demo application
- Start up the Service using the following command
A very basic UI to exercise the API is available at http://localhost:8080
This repo is primarily for testing out the Jenkins pipeline that uses it, very little else useful.
Run inside a docker container using the following:
./mvnw package -DskipTests docker run -v $HOME/src/sample-spring-cloud-svc-ci:/opt/repo -p 8080:8080 openjdk:latest java -jar /opt/repo/target/sample-spring-cloud-svc-ci-1.0.0-SNAPSHOT.jar
To launch in kubernetes:
kubectl create -f sample-app-service.yaml kubectl create -f sample-app-deployment.yaml
To see your application running,
curl the external ip of your kubernetes node with the port number listed in the output of the service.