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

Arshak Ulubabyan

11/23/2022, 11:34 AM
Hi! is there a way to change the default lunchplan for a workflow to be a different lunchplan than the one created automatically?
k

Ketan (kumare3)

11/23/2022, 3:20 PM
Default is supposed to have the same name and same signature
So ideally no
But you can create more
a

Arshak Ulubabyan

11/23/2022, 6:25 PM
@Ketan (kumare3) by changing the default launchplan I mean If I create a different one with another name, I want that one to be selected by default when I press the button to manually launch a workflow. because it's boring to every time manually choose a launchplan from the select box. I want it to be selected by default.
e

Eduardo Apolinario (eapolinario)

12/05/2022, 10:10 PM
@Arshak Ulubabyan, one more clarifying question on this. Do you mean to change the default launchplan or just the default launchplan selected in the flyteconsole launch form?
a

Arshak Ulubabyan

12/05/2022, 11:01 PM
@Eduardo Apolinario (eapolinario) for my workflow I have created a manual execution launchplan on which I set custom security context, etc. And as I always run the workflow with that launchplan I created, I want that launchplan to be preselected in the flyteconsole launch form (instead of the default launchplan created automatically by Flyte). The goal is to reduce the number of clicks necessary to run my workflow ๐Ÿ™‚ But alternatively, if there is a possibility to modify the default launchplan created by Flyte ( so I could set the right security context), that would also serve my needs. Does this make sense?
e

Eduardo Apolinario (eapolinario)

12/05/2022, 11:03 PM
got it, yes, thanks for clarifying. I'll get back to you shortly, ok?
a

Arshak Ulubabyan

12/05/2022, 11:03 PM
Thanks!
k

Kevin Su

12/06/2022, 12:07 AM
Every entity in Flyte is immutable, so I think we canโ€™t update the default launch plan. And for now, the default launch plan is always the one we first created. To support changing the default LP, I think we need to add another table in postgres to store the default LP for every WF, which will introduce a new api (UpdateDefaultLaunch) in LuanchPlanManager in flyteadmin. wdyt @Eduardo Apolinario (eapolinario)
d

David Espejo (he/him)

01/12/2023, 10:10 PM
Hi Any updates on this? Should this request be captured on an issue?
e

Eduardo Apolinario (eapolinario)

01/13/2023, 12:25 AM
No updates. @David Espejo (he/him), can you open an issue to capture this?
d

David Espejo (he/him)

01/13/2023, 4:12 PM
[flyte-ui]
s

Slackbot

01/13/2023, 4:12 PM
๐Ÿ’ป Create a Flyte UI Feature Request issue: https://github.com/flyteorg/flyteconsole/issues/new
d

David Espejo (he/him)

01/13/2023, 4:30 PM
#666 issue in the
flyte-console
repo. Iron Maiden vibes ๐Ÿ™‚