Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.12 KB

File metadata and controls

59 lines (45 loc) · 1.12 KB

Spring Boot Admin

This is a Spring Boot Admin instance using spring-cloud-starter-kubernetes-fabric8 for service discovery.

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 spring-boot-admin:fabric8 .

Install App

helm upgrade --install spring-boot-admin-fabric8 ../../helm-charts/spring-boot-admin -f deployment/values.yml

Check deployment

kubectl get pods -o wide
kubectl get services -o wide
kubectl get ingress
kubectl get serviceaccount
kubectl get role
kubectl get rolebinding -o wide

Uninstall

helm uninstall spring-boot-admin-fabric8

URI

Access Actuator

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

URI