This is an automated archive.
The original was posted on /r/golang by /u/Prestigious_Squash81 on 2023-08-08 13:48:20+00:00.
How would I create a file to indicate that an echo service is up and running? I will use this file for a k8s readiness probe.
I want something similar to what is discussed here:
The gist of the article is that a /tmp/healthy
file is created. A readinessProbe cats that file which indicates that the service is up and running. I want to do that same thing for my service.
Since the Start() method in echo blocks, when and how should I write that /tmp/healthy
file?
You must log in or # to comment.