<@U06RKAMK0UC> can I use FlyteRemote to list all t...
# ask-ai
b
@ancient-wolf-19325 can I use FlyteRemote to list all the launch plans which are using a specific workflow
j
FlyteRemote does not directly support listing all launch plans for a specific workflow. You can use the
flytectl
CLI to achieve this by specifying the workflow name with the
get launchplan
command. Would you like more detail on how to use
flytectl
for this purpose? Sources: - FlyteCTL API Reference 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
b
@ancient-wolf-19325 yes
j
To list all launch plans for a specific workflow using
flytectl
, you can use the
get launchplan
command with the
--workflow
flag. Here's a step-by-step guide: 1. Specify Project and Domain: You need to specify the project and domain where your workflow is registered. 2. Use the Workflow Name: Provide the workflow name for which you want to list the launch plans. Here's an example command:
Copy code
flytectl get launchplan -p <project_name> -d <domain_name> --workflow <workflow_name>
Replace
<project_name>
,
<domain_name>
, and
<workflow_name>
with your specific project, domain, and workflow names. This command will retrieve all launch plans associated with the specified workflow within the given project and domain. Sources: - FlyteCTL API Reference - FlyteCTL GitHub File 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.