You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`spot` - (Optional) Spot instance price. `-1`: disabled, `0`: automatic price, any other positive number: fixed price.
39
43
-`image` - (Optional) [Machine image](#machine-images) to run the task with.
40
44
-`parallelism` - (Optional) Number of machines to be launched in parallel.
41
-
-`directory` - (Optional) Local directory to synchronize.
45
+
-`workdir.input` - (Optional) Local working directory to upload.
46
+
-`workdir.output` - (Optional) Local directory to download results to (default: `workdir.input`).
42
47
-`environment` - (Optional) Map of environment variable names and values for the task script. Empty string values are replaced with local environment values. Empty values may also be combined with a [glob](<https://en.wikipedia.org/wiki/Glob_(programming)>) name to import all matching variables.
43
48
-`timeout` - (Optional) Maximum number of seconds to run before termination.
44
49
@@ -205,7 +210,7 @@ Setting the `region` attribute results in undefined behaviour.
205
210
206
211
#### Directory storage
207
212
208
-
Unlike public cloud providers, Kubernetes does not offer any portable way of persisting and sharing storage between pods. When specified, the `directory` attribute will create a `PersistentVolumeClaim` of the default `StorageClass`, with the same lifecycle as the task and the specified `disk_size`.
213
+
Unlike public cloud providers, Kubernetes does not offer any portable way of persisting and sharing storage between pods. When specified, the `workdir.input` attribute will create a `PersistentVolumeClaim` of the default `StorageClass`, with the same lifecycle as the task and the specified `disk_size`.
209
214
210
215
~> **Warning:** Access mode will be `ReadWriteOnce` if `parallelism=1` or `ReadWriteMany` otherwise.
0 commit comments