${TEST_FILE}.
Prerequisites
Config.yaml (~/.konduktor/config.yaml)
Setup
- Set up cloud storage credentials
- Check cloud storage setup with:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🎓 Pluto PRO promo: academic users and early-stage startups can email founders@trainy.ai for a PROMO code.
Example task yamls for cloud storage
${TEST_FILE}.
~/.konduktor/config.yaml)allowed_clouds:
- {s3, gs}
$ konduktor check {gs, s3}
$ ls
task.yaml static.txt test_file.txt
$ konduktor launch --env TEST_FILE=test_file.txt task.yaml
name: single-file-upload
file_mounts:
# <remote_path>: <local_path>
~/${TEST_FILE}: ./${TEST_FILE}
~/static.txt: ./static.txt
resources:
cpus: 1
memory: 1
image_id: ubuntu
labels:
kueue.x-k8s.io/queue-name: user-queue
maxRunDurationSeconds: "600"
run: |
if [ -f ~/${TEST_FILE} ]; then
echo "File exists"
else
echo "File does not exist"
exit 1
fi
if [ -f ~/static.txt ]; then
echo "File exists"
else
echo "File does not exist"
exit 1
fi
Was this page helpful?