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
Answered
Hi, I Have Configured Trains To Run In Kubernetes. The Dashboard Tries To Access The Api By Using Trains.Domain:8008. Can I Change This By Appying A Configuration Or Environment Variable?

Hi, i have configured trains to run in kubernetes. The dashboard tries to access the api by using trains.domain:8008. Can I change this by appying a configuration or environment variable?

  
  
Posted 4 years ago
Votes Newest

Answers 7


Well, you can always use your own proxy or load balancer. We'll probably add some way of configuring it in the next version 🙂

  
  
Posted 4 years ago

We host our projects on cloudflare and they don't allow sub-sub-domains. Therefore we would need a new domain for trains if we don't want to let api.* be taken.

  
  
Posted 4 years ago

Would it be possible to add some domains that are more train-specific. e.g. (trains., trains-file. and trains-api.*)?

  
  
Posted 4 years ago

Yes, when you access from app. it uses file. and api.*

  
  
Posted 4 years ago

As far as I remember, the UI can support the mode used there as well

  
  
Posted 4 years ago

Did you use the templates from the Trains Server K8s repo ( https://github.com/allegroai/trains-server-k8s )?

  
  
Posted 4 years ago

Hi NonsensicalCentipede91 ,
Currently, the UI looks for the apiserver in a fixed port on the same host, or, if using subdomains (and not ports), in a fixed subdomain (app.)

  
  
Posted 4 years ago
1K Views
7 Answers
4 years ago
one year ago
Tags