<#1197 fix(serde): merge task resources into pod t...
# flyte-github
a
#1197 fix(serde): merge task resources into pod template instead of overwri… Pull request opened by EngHabu …ting
_get_k8s_pod
replaced the pod template primary container's resources with a fresh object built only from the task's
Resources(cpu/mem/gpu)
, silently dropping any extended-resource requests (e.g. device-plugin resources like
smarter-devices/fuse
) that can only be expressed through the pod template. Merge key-wise instead, with task-declared keys winning on conflict — mirroring the backend flytek8s
MergeResources
. This lets device-plugin-backed features (e.g. unprivileged in-pod FUSE via /dev/fuse) carry their resource request all the way through serialization. flyteorg/flyte-sdk