<p>hy folks</p>

<p>I'm currently trying to set up the livenessProbe and readinessProbe. 
After starting the container I ask to create an empty file <em>touch /tmp/healthy</em>.</p>

<p>However i don't know why it can't create it. 
I looked at the kubernet site and examples on the internet and from what I could see everything seems correct. </p>

<p>The liveness send me back this answear 
<strong>Liveness probe failed: cat: can't open '/tmp/healthy': No such file or directory</strong></p>

<p>Thank you for your help </p>

<p><a href="https://gist.github.com/zyriuse75/5c79f7f96e4a6deb7b79753bde688663" rel="nofollow noreferrer">https://gist.github.com/zyriuse75/5c79f7f96e4a6deb7b79753bde688663</a></p>

morla
<p>I think you should write /bin/sh in commad and -c touch /tmp/healthy in args fields as below: </p>

<pre><code>command: ["/bin/sh"]
args: ["-c", "touch /tmp/healthy"]
</code></pre>
