https://flyte.org logo
#ask-the-community
Title
# ask-the-community
r

Rahul Mehta

03/23/2023, 10:50 PM
Is there a straightforward way to either override or set a template for the pod name for dynamic steps? It'd be very helpful to minimally be able to name the pods associated w/ a dynamic step with a common prefix for the workflow (rather than a random set of characters)
j

Jay Ganbat

03/23/2023, 11:09 PM
with_overrides(node_name=)
might work but last time i tried, flyte console was not showing the name correctly 😞
r

Reda Oulbacha

03/24/2023, 4:05 PM
would using pod labels and annotations work?
then using pod_template or pod_template_name args when building
@dynamic
j

Jay Ganbat

03/24/2023, 4:37 PM
yeah i think so 🤔 but it will make your task a pod-task not the native python task right?
r

Reda Oulbacha

03/24/2023, 5:48 PM
maybe, but I would hope there is a default pod template that regular flyte tasks inherit from, and then we could just add labels/annotations to that
otherwise there are launchplans https://docs.flyte.org/projects/flytekit/en/latest/generated/flytekit.LaunchPlan.html#flytekit-launchplan, but maybe that's not what you're looking for