hi team, When using ShellTask, is there way to att...
# flytekit
a
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.
t
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"))
f
Btw she’ll task can also become a pod, if you pass config=Pod(
a
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
f
it does not
you have to use podConfig to do it
this is the same as pod task
cc @tall-lock-23197
👍 1
155 Views