You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ minikube ip
192.168.64.3
$ vi gradle.properties
---
# set nip.io domain with minikube ip
jkube.domain=192.168.64.3.nip.io
---
Build & Apply
$ # delete old service
$ ./gradlew k8sUndeploy
$ # apply new service
$ ./gradlew clean k8sApply
$ # check pod, svc
$ kubectl get all
$ # tail the log
$ ./gradlew k8sLog
Check running
$ # check the ingress resource
$ kubectl get ingress
NAME CLASS HOSTS ADDRESS PORTS AGE
spring-boot-r2dbc-thymeleaf-sample nginx spring-boot-r2dbc-thymeleaf-sample.192.168.64.3.nip.io 192.168.64.3 80 11m
$ # send a request
$ curl http://spring-boot-r2dbc-thymeleaf-sample.192.168.64.3.nip.io/actuator/health
{"status":"UP","groups":["liveness","readiness"]}