hi team, When using ShellTask, is there way to att...
# flytekit
f
hi team, When using ShellTask, is there way to attach an ephemeral storage (emptyDir) to it ? The ShellTask needs some scratch space to download files.
s
You can set ephemeral storage as
ephemeral_storage
in the task resources. You can send requests to shell task like any other task.
ShellTask(…, requests=Resources(ephemeral_storage="1Gi"))
k
Btw she’ll task can also become a pod, if you pass config=Pod(
f
what is the mount point of the emptyDir inside the container ?
tried adding ephemeral request, it does not add any emptyDir volume to the pod
k
it does not
you have to use podConfig to do it
this is the same as pod task
cc @Samhita Alla
154 Views