Closed sharmatanmaya closed 4 years ago
use liveliness and readiness probe and configure in manifest file
I have configured liveness and readiness for a /healthcheck custom endpoint in a spring boot application controller, which return 200/500 http error depending upon the api status. WIll it capture for any Out of memory error as well?
you can also configure the resource limits if it exceeds the specified limits it should restart.
I have a springboot application deployed into docker. that container is being manged by kubernetes. sometime the application is runnig out of memory and is down but k8s doesnot have any idea about it. How can i configure k8s to restart my application when the application goes down?