I can set annotations when I execute a workflow in the flyte UI, but I don't see how to do it via flytectl create execution. It looks like the command doesn't accept annotations in its config struct. Is that correct, or am I missing something?
I may be misunderstanding the purpose of
flytectl create execution
. Is that command how you execute a launchplan? The docs for it don't mention launchplans.
But what Samhita mentioned should also work since you can set this at workflow execution config level so that all executions for a given workflow use those labels/annotations.
Doing it at execution spec level overrides whats there at the execution config level.