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 Just Switched From Trains To Clearml By K8 (Docker: "Allegroai/Clearml:0.17" ) But My Apiserver Is Still Running In /Opt/Trains While

Hi, I just switched from trains to clearml by k8 (docker: "allegroai/clearml:0.17" ) but my apiserver is still running in /opt/trains while https://github.com/allegroai/clearml-server-k8s/tree/master/clearml-server-k8s/base is pointing everything (e.g. apiserver-deployment.yaml -> apiserver-hostpath1) at /opt/clearml. is it still in dev and currently not working or am I doing something worng?

  
  
Posted 3 years ago
Votes Newest

Answers 7


Yeah, we just haven't replaced the internal folders in the docker image yet 😞

  
  
Posted 3 years ago

[root@apiserver-5b9c49948f-d6szv trains]# ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:00 bash /opt/trains/wrapper.sh apiserver
12 ? Sl 0:15 python3 -m apiserver.server

  
  
Posted 3 years ago

Hi MysteriousHedgehong97 ,
Just to make sure I understand - is everything working (server, UI etc) and you're just wondering about the folder as shown in the ps output?

  
  
Posted 3 years ago

I use kustomize to overwrite apiserver-hostpath0 with my local config from a k8 secret (my setup uses GCP volume-claims instead of leaving the files on the app=clearml node). When I overwrite apiserver-hostpath0 with an k8 secret with apiserver.conf that file is placed in /opt/clearml/config/apiserver.conf. But in this directory files are not used because the program runs in /opt/trains

  
  
Posted 3 years ago

As a workaround I could kustomize apiserver-hostpath0 to be mounted in /opt/trains/config instead of /opt/clearml/config but I tought maybe it's just work in progress.

  
  
Posted 3 years ago

We're working on a public Dockerfile that will also use the /opt/clearml path internally 🙂

  
  
Posted 3 years ago

ok, then I will use my workaround until it is changed. Thanks for the information & your help :)

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