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 Got (Yet Another) Clearml-Server Installation Question. We Installed The Server On An Internal K8S Cluster. Now I Want To Point The Webserver On The Api. However, It Looks For It As 'Apiserver':

Hi, I got (yet another) clearml-server installation question.
We installed the server on an internal k8s cluster. Now I want to point the webserver on the api. However, it looks for it as 'apiserver':
nginx: [emerg] host not found in upstream "apiserver" in /etc/nginx/nginx.conf:78
I see in the README that 2 configs are supported:
` The ClearML Server has two supported configurations:

Single IP (domain) with the following open ports

Web application on port 8080
API service on port 8008
File storage service on port 8081
Sub-Domain configuration with default http/s ports (80 or 443)

Web application on sub-domain: app..
API service on sub-domain: api..
File storage service on sub-domain: files.. So, my question is - how can I point the webserver (which the whole folder was recently deleted) to our subdomain address? (which isn't localhost) Is there any Env Variable I need to set? I tried CLEARML_API_HOST like in the agent-services ` - but it had no affect...

  
  
Posted 3 years ago
Votes Newest

Answers 7


Hi PleasantGiraffe85 - the error you're seeing is the nginx reverse proxy, trying to access the apiserver service internally - this should not be affected by how externally expose your services externally

  
  
Posted 3 years ago

Hi SuccessfulKoala55 , thank you for the clarification. So how can I change it to locate the API on our k8s service? If it's nginx I guess I'll have to manually configure it...?

  
  
Posted 3 years ago

Yup, these were the values I was missing! 🙏 Thank you so much!
I am very new to all these things, and I didn't even use helm chart (stupid me...) only after you asked, I checked about it, and saw I could have made use of it, and that it could have saved me so much time 😛
Well, we always get smarter by learning from these experiences. So, next time... 🙂

  
  
Posted 3 years ago

The service address is usually set in the chart, and the nginx can be configured by passing the value using an env var to the webserver container entry point. I'll look it up soon 🙂

  
  
Posted 3 years ago

Hi PleasantGiraffe85 , sorry for the delay 🙂
The environment variable is NGINX_APISERVER_ADDRESS (default value is http://apiserver:8008 )

  
  
Posted 3 years ago

btw - which helm chart are you using?

  
  
Posted 3 years ago

There's also NGINX_FILESERVER_ADDRESS 🙂

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