Skip to content

Commit 32499f3

Browse files
Remove emptyDir volume from CodeInterpreter example
Picod creates the workspace directory at startup, making the emptyDir volume and volumeMount unnecessary. Signed-off-by: Aaradhy Chinche <aaradhychinche@gmail.com>
1 parent 61f8cf2 commit 32499f3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

example/code-interpreter/code-interpreter.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,13 @@ spec:
1414
args:
1515
# The workspace directory will be created automatically by picod at startup
1616
- --workspace=/workspace
17-
volumeMounts:
18-
- name: workspace
19-
mountPath: /workspace
2017
resources:
2118
limits:
2219
cpu: "500m"
2320
memory: "512Mi"
2421
requests:
2522
cpu: "100m"
2623
memory: "128Mi"
27-
volumes:
28-
- name: workspace
29-
emptyDir: {}
3024
sessionTimeout: "15m"
3125
maxSessionDuration: "8h"
3226
warmPoolSize: 2

0 commit comments

Comments
 (0)