Why 21YunBox Pricing Contact Log in
Talk to an expert Test your site in China

Does Red Hat OpenShift Work in China? Data Residency, ICP & Cross-Border Rules

Your OpenShift control plane, its built-in image registry and its Secrets concentrate proprietary code, credentials and tokens — and the managed-cloud OpenShift variants put that control plane offshore: a data-residency and PIPL cross-border question, not a reachability one. Self-managed OpenShift run in-country keeps your private images and secrets resident.

Does Red Hat OpenShift work in China?

Whether Red Hat OpenShift “works” in China is the wrong question — what matters is where your cluster's control plane, its built-in image registry and its Secrets live, and the managed-cloud OpenShift variants put that control plane offshore. That, not whether a node in Shanghai can pull an image, is what decides whether the setup is defensible.

Red Hat ships OpenShift in two forms: managed “Cloud services editions” that are “Fully managed in the public cloud of your choice,” and “Self-managed editions” offering “Granular control on your own infrastructure.” OpenShift's built-in registry — “OpenShift Container Platform provides a built-in container image registry that runs as a standard workload on the cluster” — holds your private images, which bake proprietary code into their layers and embed credentials and tokens, while the cluster's Secret objects hold passwords and private-repository credentials. On a managed-cloud control plane that concentrated code and those secrets sit abroad, and your China deployment's image and chart supply chain resolves across the border. Held offshore, any personal data or secrets are a cross-border transfer PIPL governs, and for a CIIO or large-volume handler the data-localization duty (Article 39 (formerly Article 37)) points the other way. Running self-managed OpenShift on your own in-country infrastructure, with an in-country registry, keeps the private images, Secrets and workload data resident.

This is a risk picture, not a verdict — your obligations turn on what your images and Secrets carry and your entity type. Our China team can map your OpenShift residency and supply-chain exposure with you →

What Red Hat OpenShift's own documentation says about China

FactPrimary source
Red Hat ships OpenShift in two forms. Under “Self-managed editions” it offers “Granular control on your own infrastructure,” with Red Hat OpenShift Container Platform described as “A complete platform with services and tools to develop, operate, and modernize applications”; its managed “Cloud services editions” are “Fully managed in the public cloud of your choice.” The managed-cloud control plane runs on the vendor's offshore infrastructure; the self-managed edition is one you run on your own infrastructure — including in-country. Red Hat — Red Hat OpenShift product page, retrieved 2026-10-13
OpenShift concentrates your private images and secrets on the cluster. Red Hat's documentation states, “OpenShift Container Platform provides a built-in container image registry that runs as a standard workload on the cluster” — the store for images the cluster builds and the workloads it runs — and that a Secret “provides a mechanism to hold sensitive information such as passwords, OpenShift Container Platform client configuration files, private source repository credentials, and so on.” Those private images bake proprietary code into their layers; run on a managed-cloud control plane, that registry and those Secrets sit offshore, while a self-managed cluster you run in-country keeps them resident. Red Hat OpenShift Container Platform 4.17 Documentation — Registry overview; Nodes (secrets), retrieved 2026-10-13
For a critical information infrastructure operator or a large-volume handler, personal information and important data collected and generated in China must be stored inside the mainland, with a security assessment before any export — the Cybersecurity Law data-localization rule, Article 39 (formerly Article 37) as renumbered by the 2025 amendment in force 2026-01-01. A cluster control plane, registry and Secrets held on offshore infrastructure have no mainland footing to satisfy that. PRC Cybersecurity Law, Article 39 (formerly Article 37); 2025 amendment in force 2026-01-01
Workload data, the identities in your cluster's access and audit logs, embedded secrets and any personal data inside images or Secrets, held on an offshore control plane, are a PIPL cross-border transfer (Articles 38–40): the handler must give notice, obtain separate consent, and clear one mechanism — a CAC security assessment, the CAC standard contract, or certification. PRC Personal Information Protection Law, Articles 38–40; CAC cross-border rules (March 2024)

Sources verified by the 21YunBox compliance team on 2026-10-13.

For a mainland-China operation, the deciding question about Red Hat OpenShift is not whether a node in Shanghai can pull a public base image — it is where your cluster’s control plane, its built-in image registry and its Secrets live, what they hold, and on what legal basis they got there. Pulling community images and open-source charts is a reachability topic, and not the one that settles whether your setup is defensible. Your private images are different: a container image is an artifact that bakes your proprietary code into its layers, and it routinely embeds build credentials, API tokens and configuration; your Helm charts carry that deployment packaging and its secret references; and a running cluster holds its workloads and its Secrets. OpenShift concentrates exactly this — an integrated registry and the cluster’s Secret objects — in one place. On the managed-cloud OpenShift variants, that control plane and registry run on the vendor’s offshore infrastructure, and your China deployment’s image and chart supply chain resolves across the border. Residency and cross-border transfer, not load time, are what decide this.

Red Hat’s official OpenShift product page, ‘A consistent experience, anywhere’ section, with the line ‘Use familiar tools and frameworks on your choice of self-managed editions or managed cloud services’ highlighted — confirming a self-managed OpenShift you run on your own in-country infrastructure exists alongside the offshore managed-cloud variants
Red Hat’s own OpenShift page offers your workloads on “your choice of self-managed editions or managed cloud services” — the self-managed edition you run on your own in-country infrastructure keeps your private images, integrated registry and Secrets resident, while the managed cloud variants put that control plane offshore. That is why residency, not reachability, is the question. Source: Red Hat — Red Hat OpenShift

Does Red Hat OpenShift work in China? At a glance

What decides it What it means for mainland China
What your private images and charts hold A private image bakes your proprietary code into its layers and routinely embeds build credentials, API tokens and configuration; your Helm charts carry the deployment packaging and its secret references. This is concentrated intellectual property, not a connectivity detail.
Where the control plane and registry run On the managed-cloud OpenShift variants, the control plane and its built-in registry run on the vendor's offshore infrastructure. A self-managed OpenShift you deploy yourself runs wherever you put it — including in-country.
The cluster's Secrets OpenShift stores passwords, tokens, client configuration and private-repository credentials in Secret objects on the cluster. On an offshore control plane, those sit abroad alongside the images that reference them.
Data residency For a CIIO or large-volume handler, personal information and important data collected in China must be stored in the mainland (Cybersecurity Law Article 39 (formerly Article 37)) — a duty an offshore control plane and registry cannot meet.
Cross-border transfer Workload data, the identities in cluster access and audit logs, and any personal data inside images or Secrets, held offshore, are a PIPL cross-border transfer (Articles 38–40): notice, a separate consent, and one transfer mechanism.
Your deployment's supply chain A China cluster whose images and charts resolve from an offshore registry runs its supply chain across the border. A registry mirror or cache speeds resolution — it does not move your private images or Secrets in-country.
The residency lever Self-managed OpenShift run on in-country infrastructure, with an in-country private registry, keeps the private images, charts, Secrets and workload data resident.

Door one — your private images and Secrets are proprietary code, and residency follows where the control plane runs

Start with what the cluster holds, because that is what China’s law answers to. The public registries that feed community base images are a reachability topic, and not the part that decides this. OpenShift’s own registry is the authoritative store of what you do not publish: Red Hat documents that “OpenShift Container Platform provides a built-in container image registry that runs as a standard workload on the cluster” — the publication target for images your cluster builds and the source for the workloads it runs. Those private images bake your proprietary code into their layers and carry baked-in credentials and tokens; alongside them, the cluster’s Secret objects hold the rest. In Red Hat’s words, “The Secret object type provides a mechanism to hold sensitive information such as passwords, OpenShift Container Platform client configuration files, private source repository credentials, and so on.”

Where that lives is the point. Red Hat ships OpenShift in two forms. Its managed “Cloud services editions” are “Fully managed in the public cloud of your choice” — the control plane and its registry run on the vendor’s offshore infrastructure. Its “Self-managed editions” offer “Granular control on your own infrastructure”: a cluster you install and operate wherever you choose. If you are a critical information infrastructure operator, or you handle personal information at volume, personal information and important data collected and generated in China must be stored in the mainland, with a security assessment before any export — the Cybersecurity Law data-localization rule, Article 39 (formerly Article 37) as renumbered by the 2025 amendment in force 2026-01-01. A control plane, registry and Secrets held offshore have no mainland footing to satisfy that; a self-managed cluster you run in-country does.

Door two — identities, secrets and supply-chain provenance

The second door is PIPL and the integrity of what actually runs in the mainland. A cluster and its pipeline carry more than code: the usernames and email addresses of who built, signed and promoted a release, access and audit logs, and any personal data that rides along inside an image or a Secret. Under the Personal Information Protection Law, holding that data on infrastructure outside the mainland is a cross-border transfer (Articles 38–40): the handler must give notice, obtain a separate consent for the transfer, and clear one mechanism — a CAC security assessment, the CAC standard contract, or certification. Minimizing the secrets and personal data that enter image layers and Secrets in the first place is part of the fix, but it does not move the store on its own. And because your China cluster pulls its images and charts from wherever the registry runs, the provenance and integrity of what enters your China deployment are governed across the border too — a software-supply-chain exposure a connectivity check never surfaces.

Why a reachability check misses this

A “can my node pull an image from Shanghai” test answers the wrong question. A registry mirror or cache, or connectivity tuning, changes how fast and how reliably an image or chart resolves — it does not change where your private images, your Secrets and your cluster’s control plane actually live. So a deployment can look perfectly healthy from inside China while every private image, every token baked into it, and every credential in a Secret still sits offshore. The residency and cross-border questions above are invisible to a reachability probe precisely because the pulls keep succeeding — which is why the move that matters is moving the control plane, registry and Secrets in-country, not making an offshore control plane merely reachable or mirrored. We publish no first-party measurement of OpenShift registry connectivity from inside China, so we put no figures here; it is something we would measure against your actual setup rather than assert.

This is a risk map, not a verdict: whether you need in-country storage, a transfer mechanism, a reworked consent flow, an ICP filing for any public-facing console or ingress, or some combination depends on what your images and Secrets carry, how much, and who your operators are — worth settling with counsel before you build.

The lever — map, localize, deliver

Because OpenShift ships a genuine self-managed edition, there is a real in-country path, and 21YunBox never uses or suggests circumvention of any kind.

  • Map — inventory which images and charts are private (your proprietary code), whether they embed credentials, tokens or configuration, where the control plane, its built-in registry and the cluster’s Secrets live today, the residency basis, and how your China deployment’s image and chart supply chain crosses the border.
  • Localize / govern — run a self-managed cluster, its registry and its Secrets in-country, with an in-country private registry (a self-hosted registry — Harbor, Nexus or Artifactory — or Red Hat’s own self-hostable registry) for your private images and charts, so the proprietary code and embedded secrets stay resident; keep your China deployment’s supply chain in-country; and minimize what crosses the border.
  • Deliver — put a compliant, in-country self-managed cluster and private registry in front of (or in place of) the offshore control plane; 21YunBox stands up the in-country layer without a rebuild.

Making the public registry merely reachable or mirrored is not the answer — your private images, charts and Secrets are still offshore, and pulling them faster does not change that. Keeping the control plane, registry and Secrets in-country is.

Where 21YunBox fits — a compliant overlay, not a migration

You keep running OpenShift. We add the piece an offshore control plane cannot provide on its own: a lawful, in-country home for a self-managed cluster and a private registry, so your proprietary images, charts and the secrets they carry stay resident where the law requires, with compliant ICP-filed delivery for the developer access, console and any public-facing ingress in front of it — placed around your existing setup, with no rebuild, no second platform, and no migration off OpenShift. As a partner to the toolchain you already run, our China team maps your PIPL cross-border, consent and data-residency obligations against your entity and your pipeline, then stands up the in-country cluster, registry and delivery a defensible China presence needs. We never use or suggest circumvention of any kind.

Get a compliance assessment →


Related reading:

Frequently Asked Questions

Can we run OpenShift in China?
Pulling public base images is a reachability question, and not the real one. The deciding issue is where your cluster's control plane, its built-in image registry and its Secrets live — your proprietary code, credentials and tokens — and how your China deployment's image and chart supply chain crosses the border. The managed-cloud OpenShift variants put the control plane offshore; a self-managed cluster you run in-country, with an in-country registry, keeps those resident. That, not image reachability, is what makes the setup defensible.
Is managed-cloud OpenShift or self-managed OpenShift better for China compliance?
Red Hat's managed “Cloud services editions” run the control plane and registry on offshore public-cloud infrastructure, so your private images, Secrets and workload data sit abroad. A “Self-managed” OpenShift gives you “granular control on your own infrastructure,” which you can deploy in-country — keeping the images, charts, Secrets and workload data resident. For a China operation under data-localization and PIPL cross-border rules, the self-managed, in-country path is the defensible one.
Can 21YunBox help make our OpenShift setup compliant in China?
Yes. Our China team maps where your control plane, registry, images, charts and Secrets live, what credentials and personal data they carry, and how your China deployment's supply chain crosses the border, then stands up a compliant, in-country self-managed cluster and private registry with ICP-filed delivery in front of your existing setup — no rebuild, no migration off OpenShift. Get in touch to work through your specific stack.

ARTICLES RELATED TO RED HAT OPENSHIFT

Make Your Site Work inside the Great Firewall of China

Enter your information, and our staff will assist you in getting a 21YunBox account for China.

Make Your Site Work Within the Great Firewall of China
Make Your Site Work Within the Great Firewall of China

By clicking 'Get Started', I also agree to 21YunBox's Terms of Service and Privacy Policy.