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

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair argo workflows and ceph to run jobs that need shared storage. The engine runs pods on Kubernetes while the storage cluster holds job files. This pairing lets data teams pass large files from one step to another. Pods start fast, read their input, write new results, and shut down clean. You do not need to bake big files into container images anymore. Instead, each step grabs only the objects or volumes it needs to run. How data and keys flow in argo workflows and ceph Two main path

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 ceph to run jobs that need shared storage. The engine runs pods on Kubernetes while the storage cluster holds job files.

This pairing lets data teams pass large files from one step to another. Pods start fast, read their input, write new results, and shut down clean. You do not need to bake big files into container images anymore. Instead, each step grabs only the objects or volumes it needs to run.

How data and keys flow in argo workflows and ceph

Two main paths link these tools inside a production cluster. First, the workflow controller uses the audit storage as an artifact repo. When a step finishes, a helper container zips the output and uploads it. The next step downloads that archive into a local folder before it starts. This object path uses standard bucket keys stored inside Kubernetes secrets.

Second, pods can mount block devices or shared file systems through storage classes. A workflow requests a volume claim when a heavy run begins. The storage driver creates the volume, attaches it, and mounts it into pods. Multiple steps can then read and write to the same disk space.

Both paths rely on strict identity checks and role rules. For object storage, a pod reads an access key and secret key. The audit storage checks if that user can read or write the bucket. For mounted volumes, the cluster checks namespace quotas and storage class permissions.

Common failure modes and how to scope roles

Many teams start by sharing one root bucket key across every workflow namespace. That shortcut creates a large risk for the whole platform. If one test job leaks its key, any user can read all buckets. Shared keys also ruin your audit logs during a security review. Every read and write call shows the exact same bot user name.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Broad network paths and stale volumes cause pain too. Without network policies, any pod in the cluster can hit the storage network. If a workflow crashes, leftover volume claims can fill up the storage pool. Soon, new jobs hang because the cluster cannot make new volumes.

You can fix these issues with tight role scopes and clean teardown rules. Create a separate audit storage user for each workflow namespace or team. Grant each user read and write access to one dedicated prefix or bucket. Map those scoped keys to namespace service accounts so pods stay isolated.

Lock down network paths with cluster network policies between namespaces and storage nodes. Only allow pods with specific workflow labels to talk to the storage ports. Set retention rules on workflows so old volumes delete when jobs finish. Use bucket lifecycle rules to wipe old step artifacts after a set week. Turn on bucket ops logging so you know which pod touched which file. If job logs contain emails or phone numbers, masking rewrites matched fields in results.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

Should I use object artifacts or mounted volumes for workflow steps?

Use object artifacts for small files passed between independent tasks across nodes. Use mounted volumes when steps share huge datasets or need POSIX file locks.

How do I stop failed workflows from filling up my storage pools?

Set volume cleanup policies inside your workflow templates so claims delete on exit. Also add bucket expiration rules to purge temporary build artifacts after several days.

How should teams rotate object storage keys used by workflow pods?

Create two active keys for the storage user and update the cluster secret. Once running pods pick up the new key, revoke the old storage key.

The query runs. The emails stay hidden.