Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 824 Bytes

File metadata and controls

54 lines (41 loc) · 824 Bytes

Hello World

Build & Install Script

You can run the whole build and installation with the following script or follow the step-by-step guide below.

chmod u+x buildAndInstall.sh
./buildAndInstall.sh

Step-by-step build

Build App

mvn clean install

Build Docker Image

docker build --tag hello-world .

Install App

helm upgrade --install hello-world ../../helm-charts/spring-boot-app -f deployment/values.yaml

Check deployment

kubectl get pods -o wide
kubectl get services -o wide
kubectl get ingress

Uninstall

helm uninstall hello-world

URI

Access Actuator

kubectl get pods
kubectl port-forward <pod-name> 8081:8081

URI