I'm exploring options to activate readiness and liveness probes for SpringBoot 1.X. It's essential to have both endpoints enabled for seamless Kubernetes deployments. Any insights on achieving this?
/actuator/health/liveness
/actuator/health/readiness
Is it feasible to obtain those features in the upcoming Spring version, or should I proceed with implementing them myself?
Thanks in advance.
if someone needs the same, that's the final code I came up:
For the Kubernetes Health Indicator:
For the KubernetesHeathCheckController: