I'm wondering if this will also work for pip install
from a private pypi server
anyways, it works. I will update the issue
seems like I miss configured something of course. /secrets
is mounted to the agent but not to the pod template 🙂
You need to mount it to ~/clearml.conf
(i.e. /root/clearml.conf)
OK I added:
- name: TRAINS_CONFIG_FILE value: "/secrets/clearml.conf"
to my pod template, and this file exists and mounted as expected but it still fails. I will see if I missed something
at the end it's just another env var
It should work GIT_SSH_COMMAND
is used by pip
well, it's only when adding aÂ
- name
 to the template
Nonetheless it should not break it 🙂
You need to mount it toÂ
~/clearml.conf
 (i.e. /root/clearml.conf)
I have overridden that with the env var
Should I make a new issue or just reply on the one I mentioned above?
Maybe a new issue with the merge, and then the hack+fix? what do you think?
Should I make a new issue or just reply on the one I mentioned above?
BTW: there is still the bug with the env merging, correct ?
AgitatedDove14 actually I had to set something like:
- env: - name: PIP_INDEX_URL valueFrom: secretKeyRef: name: pip-index-url-secret key: pip-index-url-key - name: GIT_SSH_COMMAND value: "ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
You mean to add the extra index url?
you could use :
https://github.com/allegroai/clearml-agent/blob/5f0d51d485629e9dfc2d826622524461e3fcae8a/docs/clearml.conf#L63
If it cannot find the Task ID I'm guessing it is trying to connect to the demo server and not your server (i.e. configuration is missing)
AgitatedDove14 any chance you are familiar with this error: https://github.com/allegroai/clearml-agent/issues/55 ?
well, it's only when adding a - name
to the template