<p>I'm seeing liveliness and readiness probes failing in the Kubernetes setup.</p>
<p>Below im attaching screenshots of Pod Events, Resource Limits of the pod, probe configurations.</p>
<p>Anyone can help he with this issue and some explanation why this can happen and when do we see status code 503 in probes.</p>
<p>thankyou in advance!</p>
<p><strong>Below screen shot is from events section of pod</strong></p>
<p><a href="https://i.stack.imgur.com/5UfLI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5UfLI.png" alt="screenshot is from events of pod " /></a></p>
<p><strong>Configurations of liveliness and readiness probe</strong></p>
<p><a href="https://i.stack.imgur.com/xAxzF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xAxzF.png" alt="configurations for liveliness and readiness probe " /></a></p>
<p><strong>Resource limits of pod</strong></p>
<p><a href="https://i.stack.imgur.com/UYIiE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UYIiE.png" alt="resource limits set to pod " /></a></p>
<p><strong>FYI</strong>: I've tried changing initialDelaySeconds to 180 didn't help and also i don't see any issue with service startup it is not taking much time to start I could see in logs of pod.</p>

<p>Community wiki answer for better visibility. As <a href="https://stackoverflow.com/users/10753078/ni-kill12">ni_kill12</a> has mentioned in the comment, the issue is solved:</p>
<blockquote>
<p>I got the issue, what is happening is one of the component is going OUT_OF_STATE because of that readiness and liveliness probe is failing for me. I got to know about this by hitting the request of livelines probe. <a href="https://github.com/alexandreroman/spring-k8s-probes-demo/blob/master/README.md" rel="nofollow noreferrer">This link</a> helped me to understand probes.</p>
</blockquote>
