Overview of the wf_spec submodule
The wf_spec submodule creates a workflow_spec output compatible with Panfactum's Argo Workflows deployment. It automates several infrastructure requirements:
- Permissions: Assigns AWS permissions for S3 artifact/log storage and Kubernetes permissions for the Argo Workflow controller.
- Pod Defaults: Configures affinities, tolerations, volumes, security contexts, and scheduler settings for pods created by the workflow.
- Reliability: Sets up basic parallelism, timeouts, and retry configurations, and disables pod disruptions by default (overridable).
- Container Defaults: Provides a
container_defaultsoutput for recommended container settings.
Users are responsible for defining the core workflow logic via templates, arguments, and entrypoint.