Reputation
Badges 1
51 × Eureka!going to try it now
ERROR: No matching distribution found for pandas==1.2.4 (from -r /tmp/cached-reqs1i9hihyv.txt (line 14))
actually I should rephrase my question
you can actually inject a known_hosts
file to your docker container/k8s pod through a volume
so if you are using k8s, you can generate a configMap
with the relevant info and mount it
I have another problem at the moment (some packages that are not inside the cache seem to have be missing and then everything fails)
yea the api server configuration also went away
ERROR: Could not find a version that satisfies the requirement pandas==1.2.4 (from -r /tmp/cached-reqs1i9hihyv.txt (line 14)) (from versions: 0.1, 0.2b0, 0.2b1, 0.2, 0.3.0b0, 0.3.0b2, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.6.0, 0.6.1, 0.7.0rc1, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0rc1, 0.8.0rc2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0rc1, 0.19.0, 0.19...
Yes. Sorry, I have used the wrong backup for some reason
oh yea, that is true regarding mitm attacks
For example, the attached package is being skipped automatically but it is needed while running the actual script
I see that there's a system_site_packages: false,
I tried to add it to post_packages
and run it locally, for some reason it didn't install googlecloud-storage. However it is possible that I have an old clearml pip package installed
Could it be it was never allocated to begin with ?
what do you mean?
seems like I miss configured something of course. /secrets
is mounted to the agent but not to the pod template 🙂
I'm wondering if this will also work for pip install
from a private pypi server
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 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"
Yea definitely
Interesting point
anyways, it works. I will update the issue
at the end it's just another env var