Blog · October 18, 2026 · 8 min read

OpenShift vs Kubernetes: Which When?

Diagram: a plain Kubernetes core on the left, on the right the same core wrapped in further layers for operating system, console, and security
Graphic: HumanITy

OpenShift is not an alternative to Kubernetes but a Kubernetes distribution from Red Hat: Kubernetes at the core, plus its own operating system for the nodes, a web console, stricter security defaults out of the box, a built-in image registry, additional object types, and commercial support with fixed life cycles. Kubernetes on its own is the open core around which you assemble those pieces yourself. So the decision is not "OpenShift or Kubernetes" but: do you buy a fully integrated platform with vendor responsibility, or do you build and maintain the platform around Kubernetes yourself?

I run standard Kubernetes with k3s myself, not OpenShift, and I wrote the Kubernetes practical guide published by Rheinwerk (2024). I therefore base this comparison on the documentation from Red Hat and the community project OKD, not on running OpenShift myself. You can find all my articles on Kubernetes collected on the Kubernetes page.

What OpenShift adds to Kubernetes

Red Hat describes OpenShift as a platform powered by Kubernetes as the orchestration engine and lists what comes on top. The differences you notice most in day-to-day work:

Area Kubernetes (upstream) OpenShift
Node operating system your choice its own immutable container OS, updated through the cluster API
Installation and updates depends on distribution and tooling its own installer, whole-platform updates via the console or oc
Web UI none by default built-in web console
Command line kubectl oc, can do everything kubectl can plus OpenShift objects; kubectl works as well
Additional objects only Kubernetes objects including Route, BuildConfig, ImageStream; the older DeploymentConfig is deprecated since 4.14
Security defaults Pod Security Standards, admission depending on setup Security Context Constraints with strict defaults
Image registry set up separately built in
Extensions Helm, operators of your choice Operator Lifecycle Manager and certified operators
Support community or the vendor of your distribution Red Hat, with fixed life cycles per version

Important for daily work: because OpenShift is a certified Kubernetes distribution, regular Kubernetes manifests and kubectl work there too. The OKD documentation puts it this way: OKD-specific objects such as Route or BuildConfig "build upon standard Kubernetes primitives". If you use them, however, you tie yourself to OpenShift.

The biggest everyday difference: security out of the box

A difference you notice immediately when moving to OpenShift is Security Context Constraints (SCC). They define which privileges a pod may run with. By default, a pod gets a user ID from a range that OpenShift assigns to the namespace, instead of the ID baked into the image. An image that depends on running as root or as a specific user then fails to start or cannot write to its directories. According to the current OKD documentation, restricted-v3 is the most restrictive SCC shipped with a new installation and the default for authenticated users.

That is not a flaw but intentional: OpenShift forces you to use images that run without root privileges. In standard Kubernetes you get something similar with the Pod Security Standards, but you have to configure them yourself, per namespace or cluster-wide. I show how in Kubernetes Pod Security Standards.

Routes, Ingress, and the Gateway API

OpenShift has its own object for exposing applications, the Route, implemented by an HAProxy-based router. OpenShift also understands regular Ingress objects and creates Routes from them. The current OKD documentation also describes how to enable the Gateway API, the successor to Ingress. If you want portability, write Ingress or Gateway API objects instead of Routes. I explain the difference between Ingress and the Gateway API in Kubernetes Gateway API: The Ingress Successor.

OpenShift editions and OKD

OpenShift is available self-managed and as a managed service. For self-managed use, Red Hat names three tiers: OpenShift Kubernetes Engine ("basic functionality of enterprise Kubernetes"), OpenShift Container Platform (with operations and developer tools), and OpenShift Platform Plus, which additionally includes Advanced Cluster Management, Advanced Cluster Security, OpenShift Data Foundation Essentials, and Quay, among others. There is also OpenShift Virtualization Engine for virtual machines only. As a managed service, OpenShift runs on AWS (ROSA), Microsoft Azure (Azure Red Hat OpenShift), as OpenShift Dedicated, and on IBM Cloud, among others.

OKD is the community distribution of OpenShift, technically closely related, without a Red Hat subscription and without vendor support. The OKD website calls it "a very opinionated deployment of Kubernetes". According to its release data, the current OKD version 5.0 (as of October 2026) ships Kubernetes 1.36, while the Kubernetes project is already at 1.37. That is typical: an integrated platform follows upstream with some delay, because every version is tested together with all components.

What OpenShift costs

Red Hat does not publish fixed list prices for the self-managed editions. The pricing page says the price depends on sizing and subscription choices and refers you to sales for details. Calculated honestly, two cost blocks face each other: with OpenShift, the subscription; with standard Kubernetes, the working time your team spends on integration, updates, and security defaults. I break down what a cluster costs in Kubernetes Costs: What a Cluster Costs.

One point often missing from price comparisons is life cycles. Red Hat states maintenance for each OpenShift version until 18 months after release, and for even-numbered versions with Extended Update Support up to 24, 36, or 48 months, partly included and partly an add-on depending on the subscription. Upstream Kubernetes gets about one year of patches per version. If you can or want to update only rarely, OpenShift also buys you time.

When OpenShift fits and when Kubernetes does

OpenShift tends to fit if

  • your company already relies on Red Hat, for example with Red Hat Enterprise Linux and existing support contracts,
  • regulation or procurement requires a vendor with a support contract and fixed life cycles,
  • several teams need a uniform platform with a web console and security defaults out of the box, and
  • no in-house platform team should take on integrating monitoring, registry, policies, and updates.

Standard Kubernetes tends to fit if

  • you are a small team and the subscription weighs heavily relative to the cluster size,
  • you have the knowledge in your team or want to build it and prefer to choose your own tools,
  • you want to use a cloud provider's managed Kubernetes service, or
  • you need a lean cluster, for example k3s on rented servers, as I describe in Kubernetes on Hetzner: k3s in Production.

For most of the small teams and freelancers I write for, OpenShift is oversized. For a larger company with a Red Hat landscape and compliance requirements, it can be exactly the right choice. I lay out the basic operating models in Kubernetes On-Premises or Cloud?.

Frequently asked questions

Is OpenShift Kubernetes?

Yes. OpenShift is a certified Kubernetes distribution with additional components. Kubernetes manifests and kubectl work there, whereas OpenShift's own objects such as Route or BuildConfig do not work in other distributions.

What is OKD?

OKD is the community distribution of OpenShift, technically closely related. You can use it without a subscription, but without support from Red Hat. The current version 5.0 is based on Kubernetes 1.36.

Is there a free version of OpenShift?

OKD is free. For OpenShift itself, Red Hat offers trials; production use runs on a subscription whose price depends on size and edition. Red Hat does not publish fixed list prices for self-managed use.

Can I move from Kubernetes to OpenShift and back?

Applications that only use standard Kubernetes objects generally run on both. The usual hurdles are images that expect root privileges and, on the OpenShift side, its own objects such as Routes or BuildConfigs. If you want portability, stick to standard objects and images that run without root.

Is OpenShift more secure than Kubernetes?

Stricter by default, yes: pods run with restricted privileges out of the box. A well-configured Kubernetes cluster with Pod Security Standards, RBAC, and network policies reaches a comparable level, but has to be set up that way deliberately.

Where to go next

If you choose standard Kubernetes, the security basics are the next step: Kubernetes Pod Security Standards and Kubernetes RBAC: Roles and Permissions. If you are still deciding on the operating model, read Kubernetes for SMEs: An Operating Model.

If you want to talk the decision through for your company, my page Kubernetes Expert: Consulting and Operations explains how I can help.

I explain the fundamentals both platforms build on in my Kubernetes Practical Guide (Rheinwerk Computing). Red Hat's own take is in the article Red Hat OpenShift vs. Kubernetes, and the community project is at okd.io.

Kevin Welter

Kevin Welter

Developer, IT architect, author of technical books (Kubernetes, cloud infrastructures) and speaker. Runs his business with an AI workforce of fourteen AI employees and shows solo business owners in his community how to hire their first AI employee.

More about AI employees

Kubernetes from the basics to a production-ready cluster

Get the book