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
Can Trains-Server Be Deployed On Gke?

Can trains-server be deployed on GKE?

  
  
Posted 4 years ago
Votes Newest

Answers 6


The default GKE OS is container optimized os so some directories(i.e. opt) are read only. I solved the problem by mounting it in var/libs. In the future, is allegro considering including deployment of trains-server on GKE?

  
  
Posted 4 years ago

We'd appreciate any contribution 😉

  
  
Posted 4 years ago

We're always happy to add deployment options 🙂

  
  
Posted 4 years ago

Hi GiddyTurkey39 , we haven't tried that yet, but you're welcome to try - there's a K8s template for Trains Server https://github.com/allegroai/trains-server-k8s - https://github.com/allegroai/trains-server-k8s it would be very cool to see it running on GKE 🙂

  
  
Posted 4 years ago

SuccessfulKoala55 Getting an error with mounting on a read-only file system(Error response from daemon: error while creating mount source path '/opt/trains/logs': mkdir /opt/trains: read-only file system: RunContainerError), is there any workaround for this?

  
  
Posted 4 years ago

Why a read-only file system? The server deployment assumes a writable file system - you can change the deployment if that's required

  
  
Posted 4 years ago
1K Views
6 Answers
4 years ago
one year ago
Tags
Similar posts