salmon-flower-36598
09/20/2024, 7:29 AMapiVersion: v1
kind: PodTemplate
metadata:
name: path-flyte-default-pod-template
namespace: flytesnacks-development
template:
spec:
containers:
- name: default
image: <<http://docker.io/rwgrim/docker-noop%7Cdocker.io/rwgrim/docker-noop>>
terminationMessagePath: "/dev/foo"
volumeMounts:
- mountPath: /dev/shm
name: dshm
volumes:
- emptyDir:
medium: Memory
sizeLimit: 20Gi
name: dshm
freezing-airport-6809
freezing-airport-6809
salmon-flower-36598
09/20/2024, 2:43 PMfreezing-airport-6809
salmon-flower-36598
09/20/2024, 4:47 PMsalmon-flower-36598
09/20/2024, 4:48 PMsalmon-flower-36598
09/20/2024, 4:48 PMsalmon-flower-36598
09/20/2024, 4:50 PMhigh-accountant-32689
09/24/2024, 9:22 PMSizeMemoryBackedVolumes
.
Also, keep in mind that the max size of a memory-backed volume is capped at the memory
limits for the container, which in the case of flyte is controlled by default by the task_resources
value in the flyte config. Are you deploying flyte using the flyte-core
helm chart?salmon-flower-36598
09/25/2024, 3:14 PMhigh-accountant-32689
09/25/2024, 6:03 PMhigh-accountant-32689
10/03/2024, 10:04 PMemptyDir
volumes and container resource memory limits: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#memory-backed-emptydirsalmon-flower-36598
10/03/2024, 10:06 PM