Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.13 KB

File metadata and controls

59 lines (45 loc) · 1.13 KB

Spring Boot Admin

This is a Spring Boot Admin instance using spring-cloud-starter-kubernetes-client 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:kubernetes .

Install App

helm upgrade --install spring-boot-admin-kubernetes ../../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-kubernetes

URI

Access Actuator

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

URI