Hi team - can I mount my local drive when I create...
# flyte-support
b
Hi team - can I mount my local drive when I create a new demo cluster (flytectk demo start) with my custom docker image?
My custom container runs with "docker run -v /data:/data" with an existing /data on my Ubuntu. Can I have Flyte tasks to access read-write the '/data' on my Ubuntu?
h
Hey @billowy-glass-15228, I've not tried this but I believe this is possible. • You can leverage k3s's LocalProvisioner to create a PersistentVolume backed by your host machine. Here is a guide. • You will need to also mount a local volume to the docker container running flyte demo. • You can then modify the default PodTemplate (or use Pod Template Tasks) to mount that volume into the task pod. Flyte demo uses min.io to provide s3-compatible storage for tasks. I think a better approach is to mount the Persistent volume to back the minio deployment. This way the tasks can access s3-like FlyteFiles which will help you avoid making wrong assumptions about data availability when you run the tasks in a real cluster.
b
Hi Team - did anyone successfully used a gpu in flyte local "demo"? I want to use in Flyte tasks my python image created from this nvidia image: docker run --gpus all --rm -it --rm -it nvidia/cuda:12.5.0-devel-ubuntu22.04 /bin/bash
Hi team - how can I solve the problem "currentAttempt done. Last Error: USER::Grace period [3m0s] exceeded|containers with unready status"? I tried to set timeout=20 and the task ended after 20 seconds. I tried timeout=600 but the task ends after 3mins.
a
Hey Roman
did anyone successfully used a gpu in flyte local "demo"?
This is the closest the community has gotten. If you could test it and report any findings that would be super useful
how can I solve the problem "currentAttempt done. Last Error: USER::Grace period [3m0s] exceeded|containers with unready status"?
I tried to set timeout=20 and the task ended after 20 seconds. I tried timeout=600 but the task ends after 3mins.
@billowy-glass-15228 I guess we'll need more context. Which Pod is this coming from? is this a task requesting a GPU?