<p>I know that k8s have <em>readynessProbe</em> with <em>httpGet</em> method to check if service ready to work or not.
Is there something like <em>httpPost</em> method to run <em>POST</em> request to /api/postService with some body and check return code?
Or some <em>tricky</em> way to do it in yaml file.</p>

<p>Can be done by running curl as an exec readinessProbe:</p>

<pre><code>readinessProbe:
  exec:
    command:
    - "curl" 
    - "-X POST"
    - "-f"
    - "http://localhost/api/postService"
</code></pre>

<p>Of course you'd need to make sure to install <em>curl</em> in the Docker image that packages your service.</p>
