Unanswered
Hi! I Just Deploy Train-Server With All Components On Kubernetes And After Some Modifications, It Works. However Apiserver And Files Are Failing Health-Checks, Do Someone Know How To Fix This?
Hi @<1523719753099644928:profile|ImmenseMole52> ,
I assume this is the result of the K8s health check REST calls to the apiserver and fileserver. Both will not allow a simple GET request to /
(in each, this has a different reason).
- The apiserver has an endpoint you can use for that purpose, namely
/debug.ping
- The fileserver always interprets GET calls as requests for file download, so any request will fail if the provided path does not point to a file in the storage folder. One thing you can do, though, is to place some empty or tiny marker file in the fileserver 's data folder (volume is usually mounted to
/opt/trains/data/fileserver
) and modify the GET request accordingly, so assuming the file ishealth.txt
, request should beGET /health.txt
. I would make sure, though, that the frequency of these calls will not be high...
89 Views
0
Answers
4 years ago
8 months ago