Is there a straightforward way to either override ...
# ask-the-community
r
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
with_overrides(node_name=)
might work but last time i tried, flyte console was not showing the name correctly 😞
r
would using pod labels and annotations work?
then using pod_template or pod_template_name args when building
@dynamic
j
yeah i think so 🤔 but it will make your task a pod-task not the native python task right?
r
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
153 Views