Skip to content

Commit

Permalink
Add writable /tmp volume for asp.net core to buffer requests to
Browse files Browse the repository at this point in the history
  • Loading branch information
gamingrobot committed Jan 15, 2025
1 parent 2c7d040 commit 8230384
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/install/all/operator/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,10 @@ spec:
requests:
cpu: 500m
memory: 256Mi
volumeMounts: # We set readOnlyRootFilesystem but ASP.NET Core will buffer requests to disk under high load
- name: tmpfs
mountPath: /tmp
volumes:
- name: tmpfs
emptyDir:
sizeLimit: 50Mi

0 comments on commit 8230384

Please sign in to comment.