Fast scratch space with a memory limit

Predict the outcome

Difficulty 2 of 3Not solved yet

The report-builder container keeps about 100Mi of heap and writes about 200Mi of intermediate files to /scratch while it builds a report. To speed it up, someone moved /scratch to memory. What happens on the next run?

Your first answer is the one that counts. After a miss you can try again, or ask for the answer.

apiVersion: v1
kind: Pod
metadata:
name: report-builder
spec:
restartPolicy: OnFailure
containers:
- name: builder
image: ghcr.io/kx-labs/worker:1.0
resources:
requests:
memory: 256Mi
limits:
memory: 256Mi
volumeMounts:
- name: scratch
mountPath: /scratch
volumes:
- name: scratch
emptyDir:
medium: Memory
Your prediction