The Simplest Way to Make Dataproc and Portworx Work Like They Should
Running dataproc and portworx together lets teams process big data on persistent container storage. Dataproc runs batch jobs while Portworx manages the fast disks underneath. This setup works well when teams run analytics jobs on Kubernetes clusters. Workers read and write large files without losing state between runs. You get fast local reads and reliable data copies across nodes. Still, linking cloud data jobs with container storage requires clear rules for identity and disk permissions. Ho
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.
Running dataproc and portworx together lets teams process big data on persistent container storage. Dataproc runs batch jobs while Portworx manages the fast disks underneath.
This setup works well when teams run analytics jobs on Kubernetes clusters. Workers read and write large files without losing state between runs. You get fast local reads and reliable data copies across nodes. Still, linking cloud data jobs with container storage requires clear rules for identity and disk permissions.
How dataproc and portworx share identity and data
Dataproc can run its compute jobs on a shared Kubernetes cluster. Portworx pools the storage drives across those same cluster nodes. When a job starts, the scheduler requests a storage volume for the worker pods. Portworx creates that volume and mounts it right where the worker pod runs.
Identity flows from the cloud provider down to the container runtime. Each job uses a cloud service account tied to a cluster role. That cluster role controls which storage classes and volumes the job can claim. Portworx checks these tokens before it lets a pod mount or resize a disk.
Data moves between the compute engine and the storage pool over the local node network. Workers read raw input files and write shuffle data to persistent volumes. When the job finishes, the results stay safe on the storage pool for the next run.
Common failure modes and how to scope roles
Many teams make the mistake of sharing one broad service account across all jobs. If every analytics job uses the same identity, any worker can read any volume. A test job might overwrite production data by claiming the wrong disk. Broad storage tokens also let pods delete volumes they do not own.
Unlogged queries and blind disk mounts create another big risk during audits. When ten engineers trigger jobs under one shared role, logs cannot show who read sensitive files. If a dataset holds emails, phone numbers, or card numbers, you need strict tracking. Data masking can rewrite matched fields in results, while volume rules must lock down raw files.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
You can fix this by giving each job type its own scoped service account. Map each cloud account to a separate Kubernetes namespace and role. Set up Portworx storage classes that only allow claims from approved namespaces. Encrypt volumes with keys tied to specific team roles so other pods cannot read them.
Securing network paths and storage operations
Network paths between compute workers and storage nodes also need tight rules. By default, all pods in a cluster might talk to the storage data plane. This open path lets rogue containers probe storage ports or slow down disk traffic.
Use cluster network rules to block pods that do not run data jobs. Only allow traffic from verified worker namespaces to reach the storage ports. Separate the control plane network from the fast data network used for disk replication.
You should also watch how engineers debug broken jobs and stuck volumes. Engineers often ask for direct cluster admin rights when a batch job hangs. Granting broad cluster roles to fix one stuck pod breaks your security model. Instead, give teams scoped views of job logs and volume health metrics. Keep human admin sessions separate from the automated accounts that run daily data pipelines.
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
When should teams use Portworx with Dataproc instead of object storage?
Object storage works well for cold data and final job outputs. Portworx helps when jobs need fast block storage for heavy shuffle steps or shared state on Kubernetes.
How do we stop one data job from filling up the whole storage pool?
Set resource quotas on each Kubernetes namespace and limit maximum volume sizes in your storage class rules. This stops a runaway job from starving other workloads.
How should we handle secrets for storage encryption keys?
Store encryption keys in an external secret manager and link them to narrow workload identities. Never bake storage keys into container images or job scripts.
Related guides
In this post