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 Am Trying To Test The Whole Stack On My Local Machine But I Am Unable To Make

Hi, I am trying to test the whole stack on my local machine but I am unable to make clearml-agent and clearml-serving work. Every time I get:

clearml_agent.backend_api.session.session.LoginError: Failed getting token (error 401 from

): Unauthorized (invalid credentials) (failed to locate provided credentials)

To deploy the agent I am using helm install --values agent-values.yaml clearml-agent allegroai/clearml-agent where in agent-values.yaml I have added agentk8sglueKey, agentk8sglueSecret from dashboard settings and updated URLs apiServerUrlReference, fileServerUrlReference, webServerUrlReference .

Any idea what could be the issue? Thank you in advance πŸ™‚

  
  
Posted 2 years ago
Votes Newest

Answers 23


you are right, its default
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE clearml-elastic-master ClusterIP 10.96.188.164 <none> 9200/TCP,9300/TCP 25m clearml-elastic-master-headless ClusterIP None <none> 9200/TCP,9300/TCP 25m clearml-server-apiserver NodePort 10.96.73.213 <none> 8008:30008/TCP 25m clearml-server-fileserver NodePort 10.96.43.203 <none> 8081:30081/TCP 25m clearml-server-mongodb ClusterIP 10.96.230.210 <none> 27017/TCP 25m clearml-server-redis-headless ClusterIP None <none> 6379/TCP 25m clearml-server-redis-master ClusterIP 10.96.110.248 <none> 6379/TCP 25m clearml-server-webserver NodePort 10.96.43.251 <none> 80:30080/TCP 25m kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 25m

  
  
Posted 2 years ago

feel free to ping here if anything else is needed

  
  
Posted 2 years ago

Sure
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION clearml-agent default 1 2022-10-24 13:18:32.846539589 +0200 CEST deployed clearml-agent-2.0.1 1.24 clearml-server default 1 2022-10-24 12:57:44.160396437 +0200 CEST deployed clearml-4.3.0 1.7.0

  
  
Posted 2 years ago

apiServerUrlReference: " "

  
  
Posted 2 years ago

kubectl get svc -n default ?

  
  
Posted 2 years ago

Oh yes, fixed that and it's working! Thank you!

  
  
Posted 2 years ago

wohoo

  
  
Posted 2 years ago

oh wait πŸ˜„

  
  
Posted 2 years ago

Hi Tom; lets’ try to debug. Did you install all the charts in same namespace? Did you generate a key/secret pair from UI and the use them just in agent and serving chart?

  
  
Posted 2 years ago

Now getting
No resources found in clearml namespace.

  
  
Posted 2 years ago

but I can be wrong, give me 30 mins while I recreate same local installation with samecchart so I can see if something is wrong

  
  
Posted 2 years ago

sorry but did you deployed in clearml namesopace?

  
  
Posted 2 years ago

with the right svc names

  
  
Posted 2 years ago

can you pls share output of helm list in clearml namespace ?

  
  
Posted 2 years ago

Hi JuicyFox94 , thank you for a reply. Yes, should be on the same cluster. My steps were:

  1. created cluster via kind as written in https://github.com/allegroai/clearml-helm-charts/tree/main/charts/clearml
  2. helm install clearml-server allegroai/clearml
  3. Then I generated new API key, downloaded https://github.com/allegroai/clearml-helm-charts/blob/main/charts/clearml-agent/values.yaml file and overwritten values:
    # -- Reference to Api server url apiServerUrlReference: " ` "

-- Reference to File server url

fileServerUrlReference: " "

-- Reference to Web server url

webServerUrlReference: " "

-- Agent k8s Glue basic auth key

agentk8sglueKey: "RYKRKARI6PLDY11653OP"

-- Agent k8s Glue basic auth secret

agentk8sglueSecret: "i7B8jaOfQawvQXM0VZdfylTKhn2n5EPogkoIscPT6aUZd0yMM7" 4. install clearml agent via helm install --values agent-values.yml clearml-agent allegroai/clearml-agent `

  
  
Posted 2 years ago

Not sure if those are all necessary steps or I am missing some additional configuration

  
  
Posted 2 years ago

kubectl get svc -n clearml ?

  
  
Posted 2 years ago

Sure, thank you very much! Working flawlessly now πŸ™‚

  
  
Posted 2 years ago

Checking old yaml I used last week and I had the URLs correct but I guess I missconfigured something else.

  
  
Posted 2 years ago

I guess apiServerUrlReference should be fixed

  
  
Posted 2 years ago

or maybe default?

  
  
Posted 2 years ago

pls fix also fileServerUrlReference: anf webServerUrlReference:

  
  
Posted 2 years ago

\o/

  
  
Posted 2 years ago
1K Views
23 Answers
2 years ago
one year ago
Tags