Load files

Improve this page by contributing to our documentation.

The PyTorch chart supports three different ways to load your files. In order of priority, they are:

  • Existing config map
  • Files under the files directory
  • Cloning a git repository

This means that if you specify a config map with your files, it won’t look for the files/ directory nor the git repository.

In order to use use an existing config map, set the configMap=my-config-map parameter.

To load your files from the files/ directory you don’t have to set any option. Just copy your files inside and don’t specify a ConfigMap.

Finally, if you want to clone a git repository you can use those parameters:

Last modification January 19, 2021