L godlike
02/07/2024, 3:00 AMGlime
02/07/2024, 3:01 AMflytectl
command-line tool. While the direct deletion of launch plans is not explicitly mentioned in the provided context, archiving them is a common approach to effectively remove them from active consideration without permanently deleting them from the system. This can help clean up the list of launch plans you actively manage.
To archive a launch plan, you can use the flytectl update launchplan
command with the --archive
flag. This command sets the launch plan's state to inactive, which is akin to removing it from active use but retains its record. Here's how you might use the command:
flytectl update launchplan -p [your_project] -d [your_domain] --archive --version [version_of_launchplan] [name_of_launchplan]
Replace [your_project]
, [your_domain]
, [version_of_launchplan]
, and [name_of_launchplan]
with your specific project name, domain, launch plan version, and launch plan name.
It's important to note that while archiving does not permanently delete the launch plan, it effectively removes it from active schedules and execution plans, helping to manage clutter when you have too many launch plans.
For more detailed management or automation of this process, consider using flytekit
, which also supports activating and archiving launch plans as per the recent updates mentioned in the context. This might be particularly useful if you're looking to manage launch plans programmatically within Python scripts or applications.
---
This is an AI-generated response, take its recommendations with caution.
Please help us improve the model accuracy by giving this response a thumbs up/thumbs down reaction.
Sources
https://github.com/flyteorg/flyte/issues/3804/
https://github.com/flyteorg/flyte/issues/4563/ 👍 button 👎 button