From 823038417becd6c7f5807f6af2c6f500bd83c559 Mon Sep 17 00:00:00 2001 From: Morgan Creekmore Date: Wed, 15 Jan 2025 16:12:28 -0600 Subject: [PATCH] Add writable /tmp volume for asp.net core to buffer requests to --- manifests/install/all/operator/base/deployment.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifests/install/all/operator/base/deployment.yaml b/manifests/install/all/operator/base/deployment.yaml index 4bcb7de..1c408e7 100644 --- a/manifests/install/all/operator/base/deployment.yaml +++ b/manifests/install/all/operator/base/deployment.yaml @@ -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