REDROOM
PHP 7.4.33
Path:
Logout
Edit File
Size: 1.55 KB
Close
//retool/retool-onpremise/kubernetes/retool-code-executor-container.yaml
Text
Base64
apiVersion: apps/v1 kind: Deployment metadata: labels: retoolService: code-executor name: code-executor spec: replicas: 1 selector: matchLabels: retoolService: code-executor revisionHistoryLimit: 3 template: metadata: labels: retoolService: code-executor spec: containers: - args: - bash - start.sh env: - name: DEPLOYMENT_TEMPLATE_TYPE value: k8s-manifests - name: NODE_ENV value: production - name: NODE_OPTIONS value: --max_old_space_size=1024 - name: PORT value: "3004" image: tryretool/code-executor-service:X.Y.Z name: code-executor ports: - containerPort: 3004 name: retool protocol: TCP resources: limits: cpu: 2 memory: 4Gi requests: cpu: 1 memory: 1Gi # code executor uses nsjail to sandbox code execution. nsjail requires privileged container access. # If your deployment does not support privileged access, you can set this to false to not use nsjail. # Without nsjail, all code is run without sandboxing within your deployment. securityContext: privileged: true --- apiVersion: v1 kind: Service metadata: name: code-executor spec: selector: retoolService: code-executor ports: - protocol: TCP port: 80 targetPort: 3004 name: http-server
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 9
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
retool-agent-eval-worker.yaml
2.19 KB
lrw-r--r--
2025-11-05 08:36:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
retool-agent-worker.yaml
2.16 KB
lrw-r--r--
2025-11-05 08:36:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
retool-code-executor-container.yaml
1.55 KB
lrw-r--r--
2025-11-05 08:36:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
retool-container.yaml
2.75 KB
lrw-r--r--
2025-11-05 08:36:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
retool-jobs-runner.yaml
2.01 KB
lrw-r--r--
2025-11-05 08:36:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
retool-postgres.yaml
1.40 KB
lrw-r--r--
2025-11-05 08:36:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
retool-secrets.template.yaml
546 B
lrw-r--r--
2025-11-05 08:36:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
retool-workflows-backend-container.yaml
2.46 KB
lrw-r--r--
2025-11-05 08:36:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
retool-workflows-worker-container.yaml
2.53 KB
lrw-r--r--
2025-11-05 08:36:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).