acoustic-carpenter-78188
09/04/2023, 12:38 AM@task(task_config=Pod(pod_spec=pod_spec, pimary_container_name="container_name")). This means that users need to know the configuration of the cluster ( like will any sidecars be added automatically) in order to successfully create/run a flyte workflow.
Goal: What should the final outcome look like, ideally?
Ideally a user of flyte wouldn't need to declare their task as a pod task in order to run it in a kubernetes cluster that uses mutating webhooks to add sidecars to pods. The user could declare their task like @task and it would run the flyte task pod until the flyte task container finishes then the rest of the workflow would be run.
Describe alternatives you've considered
The only other alternative I've considered is continuing to use the workaround of declaring all workflows/tasks as pod tasks.
flyteorg/flytecuddly-jelly-27016
09/04/2023, 12:38 AM