Hi guys,
In your Liveness/Readiness probes for deploying a Kubernetes container, the Command option tooltip simply states:
“These commands are run in the container, and if the return value is zero, the container is considered to be healthy.”
We’ve found that the commands need to be newline separated, to match the equivalent Kubernetes yaml. So, instead of:
cat /tmp/healthy.txt
You need to enter:
cat
/tmp/healthy.txt
As the command.
This is a pretty big one, and we only discovered the reason by pure luck. It might be worthwhile adding that to the tooltip for other people who get stuck.