- (Re)building a docker image for every change and pushing it to a registry for launching a workload.
- Committing changes to a development branch in git and checking it out in the workload
- Synchronizing application code through file sync via
file_mounts
andworkdir
definitions.
Setup
We first need to decide which storage provider we are going to use. First, we have to place our cloud service account credentials into the Trainy cluster.~/.konduktor/config.yaml
Usage

konduktor launch
two things happen atomically in this order. If any step fails, the workload will fast-fail.
workdir
andfile_mounts
are synchronized to object storage- workload is submitted
- workload, once active, will sync down
workdir
andfile_mounts
.konduktorignore
Use a.konduktorignore
file to exclude files and directories from being synchronized.
It works similarly to .gitignore
, and is evaluated relative to the sync root.
Patterns in .konduktorignore
are matched relative to the location.
Examples
Workdir
.konduktorignore
at ./my_dir/.konduktorignore
.
File mounts
.konduktorignore
at ./my_dir/.konduktorignore
.