Cover illustration for “Kubernetes PaaS Options for Teams With Data Residency Requirements”

Essay Managed Kubernetes Platforms & Hosting Models

Kubernetes PaaS Options for Teams With Data Residency Requirements

Region maps fall short; jurisdiction, key custody, and enforced placement decide compliance.

Choosing a Kubernetes PaaS for data residency means evaluating more than its region map. A defensible setup depends on who can compel access, who holds the encryption keys, and whether the platform enforces placement rules. Those controls must work together, with evidence for an audit and a workable way to leave the platform. A compliant region alone cannot provide them.

Why region selection is not enough to satisfy data residency requirements

Teams often think they are buying a compliant region when they actually need a defensible compliance posture. A region describes where infrastructure runs. It does not establish who can access the system, which legal demands apply to its operator, or whether workloads can leave the platform without a rewrite. A platform can answer one well and fail another.

The first layer is data residency and access, meaning where the bytes live and who can legally compel access to them. The second is operational control, including who runs the control plane and who can administer or expose the running system. The third is technical portability, meaning whether workloads can move to another conformant cluster without being rebuilt. Portability is the real test of vendor lock-in.

A provider may offer a compliant region but still let a deployment run elsewhere. A deployment in the wrong place can lead to regulatory fines and cost the team its customers’ trust. The gap is between offering a location and making the wrong location unavailable to regulated workloads.

How the CLOUD Act breaks the "our data is in an EU region" argument

A provider’s operating region and its corporate parent’s jurisdiction are separate facts. Under the CLOUD Act, 18 U.S.C. § 2713, US courts can compel US-incorporated companies to disclose data stored anywhere in the world. An EU region does not remove that legal reach. Assessing legal reach requires asking what the company holds and can disclose as well as where its servers sit.

Managed Kubernetes extends that question beyond application databases. The API server, etcd, scheduler, and controller manager run on provider infrastructure. Control plane metadata, secrets references, and cluster configuration are therefore among the data a provider can be forced to disclose through legal process. The same issue applies to SaaS internal developer platforms that store environment configurations and cluster metadata in the vendor’s cloud.

Contractual data boundary promises do not override statutory law. A provider’s commitments remain subject to its corporate jurisdiction, a distinction that matters most when an EU company or healthcare organization takes a promise to host data in a region as proof that it alone controls the data. The technical question that follows is whether the provider can disclose readable data or only encrypted data for which it lacks the keys.

Key custody is the control that jurisdiction cannot override

A legal demand does not, by itself, turn ciphertext into readable data. If the provider does not hold the decryption keys, access to its stored data is different from access to the information inside it. That makes custody a central selection criterion.

Bring your own key, or BYOK, does not establish that separation. The customer supplies a key, but the provider imports it into its own key management service and holds the key material. Hold your own key, or HYOK, instead uses an external key service that the customer runs. Google’s External Key Manager and AWS External Key Store support external key management patterns in which the provider calls out for decryption without holding the key material itself.

Revocation is the practical test of that boundary. With true external custody, revoking access stops new decryptions, while already-cached data keys must age out. It is not an instantaneous erasure of every readable copy. Kubernetes secrets need the same scrutiny because encryption at rest in managed etcd normally uses provider key management unless an external KMS envelope is explicitly configured. For AI workloads with PHI, sending data to a third-party LLM API also gives up this custody boundary, which makes the location of inference part of the architecture.

Scheduling enforcement and storage class controls that keep workloads in compliant regions

A written residency policy does not constrain the scheduler. Without placement rules in force, the scheduler can still choose nodes outside the approved region. For an EU-only deployment, nodes can have labels such as compliance-zone=eu and gdpr-compliant=true. Pod affinity using requiredDuringSchedulingIgnoredDuringExecution makes those attributes a hard scheduling condition. If no node meets the rules, scheduling fails and the workload stays unscheduled.

To keep availability within the same geographic boundary, topologySpreadConstraints with DoNotSchedule can spread pods across approved availability zones while keeping them out of non-compliant ones. Storage needs its own constraint because an EU-bound pod can still use a volume provisioned elsewhere. Region-specific storage classes with allowedTopologies pin volumes to approved zones, while compliance labels give admission controllers something to validate.

A Canada-only stateful workload follows the same compute-and-storage pattern when that restriction is part of the organization’s policy. Neither GDPR nor PIPEDA imposes a blanket domestic-only hosting rule. The EDPB describes limits on transfers outside the EEA and the transfer mechanisms that are allowed, while PIPEDA allows data to be processed abroad if the organization remains accountable and the data has comparable protection. Placement rules must reflect the actual obligation.

OPA Gatekeeper provides a backstop against missing labels or prohibited placement. Network paths also need rules, since pods and volumes in the right places can still send data through non-compliant regions. Compute and storage controls must therefore work with network policies and checks on the paths data takes.

The first layer is data residency and access, meaning where the bytes live and who can legally compel access to them.

Using ArgoCD to encode and continuously validate residency policy across multi-region deployments

Deployment-time constraints can drift as a cluster changes. ArgoCD turns those constraints into declared policy that is continuously reconciled. Its AppProjects restrict which clusters an application can target. An EU-scoped project cannot deploy to a US cluster merely because a manifest’s scheduling rules would allow it.

That project boundary works with the controls inside the repository. Storage class specifications keep persistent data in approved storage, while network policies set rules for each application on data leaving its jurisdiction. Each data class can have its own project scope and rules on where it can be deployed. The strictest rule need not apply to everything. It must apply reliably to the data that requires it.

A manual change to a declared affinity rule or network policy can be detected and automatically corrected before an audit. Git history also records each policy change with its timestamp, author, and diff. This provides evidence of how the declared controls changed, rather than leaving the team to reconstruct that history later. It supports audit readiness, though configuration history is not a substitute for runtime audit logs.

Audit logging requirements that most managed clusters leave unmet by default

Correct placement is not proof that controls worked. A cluster can enforce scheduling and storage rules yet still leave a gap in the audit evidence if the team lacks usable records of what happened. Managed control planes make that gap harder to close directly because the customer does not control the API server process. Logging must be enabled and retained through the provider’s configuration.

Some managed offerings leave control plane logging off or need separate settings to keep audit records, while others always record administrative activity. The scope of logging, storage, and retention still needs review.

HIPAA’s audit control provision requires ways to record and examine what happens in systems that hold or use electronic protected health information. It does not prescribe API server logs by name. SOC 2 CC7.2 is likewise technology-neutral and calls for monitoring proportionate to the environment. The practical requirement is durable, tamper-evident storage for logs with retention suited to the applicable audit period. With evidence already assembled and attributable, the audit preparation payoff illustrated by MedFlow is a shift from weeks to days.

What the MedFlow implementation shows about putting all three layers together

MedFlow’s healthcare SaaS implementation shows how these controls fit together for a mid-size engineering team. Multi-tenant isolation used dedicated namespaces and network policies, while all PHI was encrypted at rest and in transit. An OPA Gatekeeper validating admission webhook supplied the policy enforcement layer. Istio provided mTLS between services.

Secrets management used Azure Key Vault outside application code. That is a concrete separation, but it does not by itself demonstrate the HYOK pattern described earlier. External to application code is not the same as external to provider custody.

Comprehensive audit logs went to Azure Monitor, connecting the running system to the evidence needed for review. The case links this architecture to audit readiness and infrastructure cost outcomes, without establishing that each component alone caused them. Its 90-day implementation framing also has a specific purpose. Engineering work is front-loaded so the compliance audit can happen in the following quarter, rather than being treated as a shortcut through that audit. The team context shows that this is not solely the domain of a large platform engineering organization.

How GPU and AI inference workloads change the residency calculus

AI inference moves the custody question into the execution path. When PHI or other regulated data must stay inside a customer-controlled boundary, a hosted LLM API is not interchangeable with inference inside that boundary. Sending the data to the API places it under the provider’s jurisdiction and removes the team’s key custody. For workloads with that requirement, on-premises or VPC-isolated GPU clusters become a selection constraint.

KubeCon EU 2026 marked distinct developments in that tooling, with NVIDIA’s KAI Scheduler accepted into the CNCF Sandbox and its DRA driver contributed through the upstream Kubernetes track. The former provides GPU-aware scheduling, while the latter supports fractional GPU allocation and multi-node NVLink. These capabilities bring GPU management closer to standard Kubernetes tooling. They do not remove the need to restrict where regulated inference runs.

MIG partitioning can improve multi-tenant density when several smaller models share a GPU inside a compliant VPC. Low GPU utilization otherwise makes isolated capacity expensive, and Karpenter with GPU-aware consolidation addresses that waste. Cost optimization still has a geographic limit. Sourcing GPUs across clouds can introduce egress paths that conflict with residency rules, so cross-cloud capacity is a fallback for shortages rather than the primary execution path for data-heavy regulated workloads.

What to actually evaluate when selecting a Kubernetes PaaS for residency-constrained workloads

The evaluation should start with questions about legal and operational control, including for the platform already in use. Where is the vendor incorporated, and which documented sub-processors touch the data? Does its control plane run in the vendor’s infrastructure or deploy into the customer’s own cloud account? The latter makes the customer’s account the platform’s data boundary. Porter, a Platform as a Service that deploys and manages Kubernetes-based apps inside a team's own AWS, GCP, or Azure account, is one example of that model. It does not erase the underlying cloud provider’s jurisdiction.

Does the platform support external KMS envelope encryption for secrets in etcd? Does “customer-managed keys” mean HYOK or only BYOK imported into provider KMS? Can the customer revoke access across platform components, with the effect on cached keys understood? A platform that cannot answer those questions has not established the claimed custody boundary.

Placement controls are the next practical test. Does the platform let the team use hard node affinity and topology constraints, Gatekeeper or equivalent admission control, and storage classes with allowedTopologies? Can its network controls and audit configuration support the same geographic policy? A simpler application interface is useful only if it leaves these enforcement points available.

Finally, can the team export standard Kubernetes manifests, OCI images, and Helm charts and redeploy them to another conformant cluster without a rewrite? Queues, databases, and identity APIs tied to one provider can keep an otherwise portable workload there, so the team should weigh what it gains and gives up with each dependency. Customer-account deployment, external key custody, enforceable placement, and portable workloads are therefore substantive platform options to evaluate together. If the compliance posture depends on trusting the vendor’s contracts rather than the team’s own architecture, it is not yet defensible.

Renata Osei-Bonsu

← Back to Cluster Without Ops