Skip to content

Commit efb5c13

Browse files
committed
Fix Configure workflow data directory for Kubernetes
The Workflow SDK was attempting to write run state to `.workflow-data/runs/` which doesn't exist in our Kubernetes containers and cannot be created due to filesystem restrictions. ## Solution Configure the Workflow SDK to write to `/tmp/workflow-data` instead by setting the `WORKFLOW_EMBEDDED_DATA_DIR` environment variable in the staging deployment config.
1 parent 0ea3705 commit efb5c13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deploy/staging/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ env:
7272
PARA_ENVIRONMENT:
7373
type: kv
7474
value: "beta"
75+
WORKFLOW_EMBEDDED_DATA_DIR:
76+
type: kv
77+
value: "/tmp/workflow-data"
7578
NEXT_PUBLIC_API_URL:
7679
type: kv
7780
value: "http://localhost:3000"

0 commit comments

Comments
 (0)