<p>I have an angular application which is deployed on apache container running on Kubernetes. I wanted to setup liveness and readiness probe for pods but I am out of ideas .Any help would be appreciated.</p>

Ladu anand
<p>Base on the link you provided, you can use the following as a start:</p>
<pre><code>apiVersion: v1
kind: Pod
...
spec:
  ...
  containers:
  - name: ...
    ...
    livenessProbe:
      tcpSocket:
        port: 80               # &lt;-- live when your web server is running
      initialDelaySeconds: 5   # &lt;-- wait 5s before starting to probe
      periodSeconds: 20        # &lt;-- do this probe every 20 seconds
    readinessProbe:
      httpGet:
        path: /                # &lt;-- ready to accept connection when your home page is serving
        port: 80
      initialDelaySeconds: 15
      periodSeconds: 10
      failureThreshold: 3      # &lt;-- must not fail &gt; 3 probes
</code></pre>
