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, Is A Remote Task Execution Wit Azure Devops Private Repository Working? I Am Hitting A Problem Where Clearml Is Creating A Wrong Url For Loading:

Hi, is a remote task execution wit Azure DevOps private repository working?

I am hitting a problem where ClearML is creating a wrong URL for loading:
Using user/pass credentials - replacing ssh url 'git@ssh.dev.azure.com:v3/org/proj' with https url ' ' fatal: repository ' ' not found Repository cloning failed: Command '['clone', ' ', '/root/.clearml/vcs-cache/proj.62f4a374b2c8f47f78c7bfba57e698a3/proj', '--quiet', '--recursive']' returned non-zero exit status 128. clearml_agent: ERROR: Failed cloning repository.
https://gitusername@ssh.dev.azure.com/v3/org/proj should be https://gitusername@dev.azure.com/org/proj

  
  
Posted 2 years ago
Votes Newest

Answers 6


to setup ClearML agent in kubernetes with the SSH keys?

You can add env variable:
CLEARML_AGENT__AGENT__FORCE_GIT_SSH_PROTOCOL="true"https://clear.ml/docs/latest/docs/deploying_clearml/clearml_server_config#dynamic-environment-variables

  
  
Posted 2 years ago

is it also possible to somehow propagate ssh keys to the agent pod? Not sure how to approach that

I would use the k8s secret manager to do that (there is a way to mount secrets files into pod, SSH is relatively standard to do)

  
  
Posted 2 years ago

Hi MelancholyChicken65
I'm assuming you need ssh protocol not https user/token, set this one to true 🙂
force_git_ssh_protocol: true
https://github.com/allegroai/clearml-agent/blob/76c533a2e8e8e3403bfd25c94ba8000ae98857c1/docs/clearml.conf#L39

  
  
Posted 2 years ago

Thank you!) And is it also possible to somehow propagate ssh keys to the agent pod? Not sure how to approach that

  
  
Posted 2 years ago

Awesome, thank you for you help AgitatedDove14 !

  
  
Posted 2 years ago

Hi AgitatedDove14 , thank you for the quick response!:) And is there some recommended way to setup ClearML agent in kubernetes with the SSH keys? I am deploying the agent via https://github.com/allegroai/clearml-helm-charts/tree/main/charts/clearml-agent

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