Argo Workflows

Argo Workflows is a Kubernetes-native workflow engine designed to orchestrate complex job pipelines and automation tasks in a containerized environment.

It enables defining multi-step workflows as a series of directed acyclic graphs (DAGs) or step-based sequences, where each step is a containerized task. These workflows are described in YAML and executed entirely within Kubernetes, making them highly scalable and portable.

Key Capabilities

Here are the key capabilities of Argo Workflows:

  • Native Kubernetes Integration: Workflows are defined as Custom Resources and executed as pods within the cluster.

  • Reusability: Supports WorkflowTemplates, ClusterWorkflowTemplates, and parameterization for reusable workflow definitions.

  • Conditional Logic and Loops: Enables branching, iteration over lists, and conditional execution within workflows.

  • Artifacts and Parameters: Supports input/output artifacts, parameters, and dependencies between steps.

  • Suspend and Resume: Supports human-in-the-loop approval by pausing execution with suspend steps that can be resumed manually.

  • Scalability: Can execute thousands of workflows in parallel across a cluster.

Usage in the installation lifecycle

Argo Workflows automates and manages the PAS-X MES bootstrapping and installation lifecycle, including:

  • Bootstrapping the environment by installing dependencies like RabbitMQ, MES Operator, and Instance and GenericService CRDs.

  • Validating the readiness and correctness of the environment and the system both before and after installation.

  • Triggering custom operations like database schema migrations or conditional installation and uninstallation actions based on system state.

These workflows are triggered manually via the Argo Workflows UI, via automated events, time based triggers in case of using CronWorkflows, or Argo Workflows CLI, and their progress is fully visible and traceable through the Argo Workflows UI. Approval steps (suspend) allow controlled execution, giving operators flexibility during critical stages.

Benefits

Main benefits of using Argo Workflows are:

  • Ensures consistent and repeatable installation processes.

  • Provides visibility and control over installation workflows.

  • Integrates with Argo CD for synchronized and orchestrated application installation.

For comprehensive documentation on Argo tools, see Argo Workflows Documentation.