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
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)
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
Thank you!) And is it also possible to somehow propagate ssh keys to the agent pod? Not sure how to approach that
Awesome, thank you for you help AgitatedDove14 !
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