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 All! Having A Bit Of An Ssh Issue, Basically I'M Running The Clearml K8S-Glue Agent In A Pod In K8S, Which Happily Spins Up New Pods On A Managed Node Group I'Ve Set Up On Eks. However I Can'T Seem To Connect Via Ssh To My Git Repo When I Execute A Tas

Hi all! Having a bit of an ssh issue, basically I'm running the clearml k8s-glue agent in a pod in k8s, which happily spins up new pods on a managed node group I've set up on EKS. However I can't seem to connect via ssh to my git repo when I execute a task. I'm running the following as extra_docker_shell_script when the pod is span up:
extra_docker_shell_script: ["eval $(ssh-agent)", "ssh-add /etc/secret-volume/ssh-privatekey", "ssh-add -l", "ssh -T git@github.com"]where my ssh-privatekey is a mounted kubernetes secret which I set up using the instructions here https://kubernetes.io/docs/concepts/configuration/secret/#use-case-pod-with-ssh-keys

The logs in the pod after running the shell script give me :
Identity added: /etc/secret-volume/ssh-privatekey 256 SHA256:pMhf/WDeaADdsq+UH/Nir (ED25519) Host key verification failed.Basically telling me the ssh agent adds the key successfully but then is failing to connect to mailto:git@github.com
Anyone have any clue what's happening? The task then proceeds to fail due to not being able to clone the repo

  
  
Posted one year ago
Votes Newest

Answers 2


NaughtyFish36
what's the error you are getting?
Also did you try setting: force_git_ssh_protocol: true ?
https://github.com/allegroai/clearml-agent/blob/76c533a2e8e8e3403bfd25c94ba8000ae98857c1/docs/clearml.conf#L39

  
  
Posted one year ago

Is it possible you need to add http://github.com to the known hosts file?

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