- Armeria
- Spring Boot
- Spring Boot Actuator
$ docker build -t armedia-k8s:test
$ kubectl apply -f k8s/deployment.yaml
$ kubectl expose deployment armeria-k8s --type=LoadBalancer
You can check a response from app with curl command.
$ curl http://localhost:8081/actuator/health
{"status":"UP","components":{"custom":{"status":"UP"},"diskSpace":{"status":"UP","details":{"total":62725623808,"free":41821859840,"threshold":10485760,"exists":true}},"livenessState":{"status":"UP"},"ping":{"status":"UP"},"readinessState":{"status":"UP"}},"groups":["liveness","readiness"]}