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
Hello Everyone! The Cache For Pip Does Not Work For Agent In K8S Mode. I Specify Agent.Docker_Pip_Cache As /Mnt/Pip_Cache In The Clearml.Conf. But Nothing Is Saved Along This Path

Hello everyone! The cache for pip does not work for agent in k8s mode. I specify agent.docker_pip_cache as /mnt/pip_cache in the clearml.conf.
But nothing is saved along this path

  
  
Posted 7 months ago
Votes Newest

Answers 7


can you pls check the content of file /root/clearml.conf inside agent pod. I would like to understand how config file looks, ty.

  
  
Posted 7 months ago

The /root/clearml.conf file no longer contains anything.
  
  
Posted 7 months ago

If I understand correctly, the cache for pip is stored at /root/.cache/pip. How can I change it? The agent.docker_internal_mounts.pip_cache variable in the config also does not change anything.

  
  
Posted 7 months ago

Hi,
how did you specified it in Helm override file?

  
  
Posted 7 months ago

kubectl exec -it clearml-agent-85fd8ccc6d-7fdk7 -n clearml bash
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
Defaulted container "k8s-glue" out of: k8s-glue, init-k8s-glue (init)
root@clearml-agent-85fd8ccc6d-7fdk7:~# cat /root/clearml.conf 
agent.git_user=gitlab_agent
agent.git_pass=682S-pH9ay1nidsxBGyT
agent.cuda_version=118
#agent.docker_internal_mounts.venv_build=/home/s3_cache/venvs-builds
#agent.docker_internal_mounts.pip_cache=/home/s3_cache/pip-cache
# environment {
#     "PIP_DEFAULT_TIMEOUT": 5000
  
  
Posted 7 months ago

in the clearml section in values.yaml:

clearml:
  ...
  clearmlConfig: |-
   agent.docker_pip_cache="/mnt/pip_cache"
  
  
Posted 7 months ago

However, nothing is saved along this path

  
  
Posted 7 months ago
638 Views
7 Answers
7 months ago
7 months ago
Tags