Kubernetes set pod as not ready at start

Viewed 33

I have a deployment containing a service. This service has to load something before it can handle requests.

When I start my pod, it is instantly ready. I have tried a readiness probe, one which probed a TCP call and one setup with springboot actuator. Even with this, the pod was instantly ready.

I want to only set the pod to ready (using spring boot actuator) when this map has fully loaded... but I cannot find out how to do this.

Any ideas?

Thanks

0 Answers
Related