Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
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 is health.txt , request should be GET /health.txt . I would make sure, though, that the frequency of these calls will not be high...
  
  
Posted 4 years ago
89 Views
0 Answers
4 years ago
8 months ago