問題文
A CronWorkflow manifest is being written from an existing Workflow manifest. Which option correctly describes the structure of the CronWorkflow spec?
選択肢
- The Workflow is left unchanged and a separate CronWorkflow references it by name.
- The former Workflow spec goes under workflowSpec, and the cron specific options sit beside it.
- The entrypoint and templates fields move to the top level of the CronWorkflow spec, and the schedule is given as an annotation on the object metadata so that the controller can pick it up.
- The templates move into a ClusterWorkflowTemplate, which the CronWorkflow then requires by name at each scheduled run.