The Simplest Way to Make Argo Workflows and Linstor Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair argo workflows and linstor to run stateful Kubernetes jobs with fast block storage. Argo Workflows runs the job steps while Linstor builds and attaches the storage volumes. Many data pipelines need fast local disks to pass large files between steps. Object stores can feel too slow when pods read and write huge files. Linstor manages Linux storage pools across cluster nodes for low latency. Argo Workflows schedules the pods that claim and use those disks. How argo workflows and lins

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair argo workflows and linstor to run stateful Kubernetes jobs with fast block storage. Argo Workflows runs the job steps while Linstor builds and attaches the storage volumes.

Many data pipelines need fast local disks to pass large files between steps. Object stores can feel too slow when pods read and write huge files. Linstor manages Linux storage pools across cluster nodes for low latency. Argo Workflows schedules the pods that claim and use those disks.

How argo workflows and linstor share roles and data

The two tools talk through the standard Kubernetes storage interface. A workflow template asks for a persistent volume claim when a run starts. Kubernetes passes this request to the Linstor storage driver. The Linstor controller then checks the identity of the calling service account.

Once approved, Linstor creates a block volume on the right storage node. It can also copy the data across multiple nodes for safety. Next, the workflow controller starts the job pod on the node holding the disk. The pod mounts the volume and reads or writes data at disk speed.

When a step finishes, the next pod in the chain mounts that same volume. Data moves from step to step through the disk without network uploads. After the full job ends, the workflow controller deletes the volume claim. Linstor sees the delete event and wipes the block storage pool.

Common failure modes and role scoping between both systems

Storage bottlenecks often happen when teams share one broad service account across all jobs. If every workflow uses the same role, any user can fill up the disk pool. Broad tokens also let test jobs delete production volumes by mistake. Unlogged storage requests make it hard to see which team broke the disk pool.

You can fix this by giving each team its own namespace and service account. Map each workflow role to a dedicated Linstor storage class with strict size limits. Set up network rules so only the storage driver can reach the Linstor controller. Job pods should only talk to their mounted disk, not the storage control plane.

Access Request Workflows + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Node affinity mismatches cause another common failure in production clusters. A workflow pod might start on a node that has no local storage pool. When this happens, the job hangs or reads data over a slow network link. Always set placement rules so workflow pods land on nodes with local Linstor disks.

Keeping storage pools clean after failed workflow runs

Failed jobs can leave behind orphan volumes that eat up your fast disks. If a workflow crashes mid-run, the volume claim might stay bound forever. Over a few weeks, dead volumes can block new jobs from starting.

To prevent disk leaks, add exit handlers to every workflow template you write. An exit step runs even when the main job fails or times out. This step deletes the temporary volume claim right away so Linstor frees the space. You should also set up storage alerts to catch old volumes before pools fill up.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

Why use Linstor instead of object storage for Argo Workflows?

Linstor provides fast block volumes attached right to the cluster node. This speeds up jobs that read and write many small files between workflow steps.

How do multiple workflow steps share data on a Linstor volume?

The workflow creates one volume claim at the start of the run. Each step runs in order and mounts that claim to read the files.

What happens if a storage node goes down during a workflow run?

If your storage class keeps copies on two nodes, the data stays safe. Kubernetes moves the next workflow pod to the healthy node holding the copy.

The query runs. The emails stay hidden.