<p>We are trying to deploy PingFed in a Kubernetes cluster. We have files <em>deployment.yml</em> and <em>service.yml</em>, but the pod is throwing CrashBackLoop error after trying to reach the server profile with a readiness probe error. We have tried everything with changing the service type to tinkering with deployment and service YAML files, but nothing seems to be working.</p>
<h3>This is the <em>deployment.yml</em> file</h3>
<p><a href="https://i.stack.imgur.com/eqO9f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eqO9f.png" alt="Enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/AXgjI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AXgjI.png" alt="Service.yml" /></a></p>
<p><a href="https://i.stack.imgur.com/16zGW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/16zGW.png" alt="POD error" /></a></p>
<h3>All the pods, services, deployment running in the namespace</h3>
<p><a href="https://i.stack.imgur.com/eZhHY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eZhHY.png" alt="All the pods, services, deployment running in the namespace" /></a></p>

Atmesh Acharya
<p>I don't see initialDelaySeconds in the readiness probe. So, I guess that might be the reason the readiness probe is failing. I would set it to the time it takes for the application to come up.</p>
<p><strong>initialDelaySeconds</strong>: Number of seconds after the container has started before liveness or readiness probes are initiated. Defaults to 0 seconds. Minimum value is 0.</p>
<pre><code>readinessProbe:
      httpGet:
        path:
        port: 8080
      initialDelaySeconds: 5
      periodSeconds: 10



</code></pre>
