Reputation
Badges 1
51 × Eureka!Could it be it was never allocated to begin with ?
what do you mean?
so if you are using k8s, you can generate a configMap with the relevant info and mount it
Seems like this is not the best solution:
why not?
oh yea, that is true regarding mitm attacks
yea, it's working π
You can either use the StrictHostKeyChecking=no or generate a known_hosts file. I don't know about other options
at the end it's just another env var
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"
Should I make a new issue or just reply on the one I mentioned above?
well, it's only when adding a - name to the template
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
AgitatedDove14 any chance you are familiar with this error: https://github.com/allegroai/clearml-agent/issues/55 ?
I'm wondering if this will also work for pip install from a private pypi server
I hope I didn't miss anything
Interesting point
Yea definitely
oh cool, didn't know about this one
Thank you for helping! π
anyways, it works. I will update the issue
I'll do that
You need to mount it toΒ
~/clearml.conf
Β (i.e. /root/clearml.conf)
I have overridden that with the env var
seems like I miss configured something of course. /secrets is mounted to the agent but not to the pod template π
Yes. Sorry, I have used the wrong backup for some reason