<#349 Enable pod template and Use copy to construc...
# flyte-github
a
#349 Enable pod template and Use copy to construct head/worker in ray plugin Pull request opened by ByronHsu Type ☑︎ Bug Fix ☐ Feature ☐ Plugin Are all requirements met? ☐ Code completed ☐ Smoke tested ☑︎ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description Why? 1. The current implementation is unable to parse podtemplate 2. The current implementation will lose container information (like
Volume
) when constructing worker/head pod because it created a new container from scratch What? 1. Use
flytek8s.ToK8sPodSpec
to parse both container and pod type 2. Copy the container from the original primary container instead of creating a new one flyteorg/flyteplugins All checks have passed 6/6 successful checks