How to test a file exists from a Kubernetes probe?

I have a sidecar container in a MySQL Pod which will use the MySQL socket file in order to access the database. I would like to be sure MySQL has successfully started and therefore have created the socket file before than this sidecar container starts. I tried to add a readiness probe with an exec.command… Read More How to test a file exists from a Kubernetes probe?