OpenShift Series

🚢 Understanding What OpenShift Actually Is From a "Top 1%" Perspective — Its Relationship to Kubernetes

Introduction

This article is part of the Top 1% Series’ full article guide, and the first article in a new series on OpenShift. If you want to get hands-on and actually try it, continue to A “Top 1%” Hands-On Lab: Running a Container Application on OpenShift Local.

Prerequisites

Getting the Big Picture

OpenShift Is a “Derivative” of Kubernetes, Not a “Competitor”

OpenShift is a container platform provided by Red Hat, built on top of Kubernetes. It’s not a competing product that replaces Kubernetes itself — it’s easier to understand as, in effect, a “finished car” that adds many features enterprises actually need for real-world operation, standard, on top of the core (Kubernetes) that provides orchestration.

graph TB
    subgraph K8s["Kubernetes (the orchestration core)"]
        Core["The basic management mechanisms of<br/>Pod, Node, Deployment, and Service"]
    end
    subgraph OpenShift["OpenShift (Kubernetes + built-in additional features)"]
        Route["Route (external exposure)"]
        Build["Build/S2I (building an image from source)"]
        Operator["Operator (application lifecycle management)"]
        Console["Web management console"]
        Scc["Security Context Constraints (strict defaults)"]
    end
    K8s --> OpenShift

Plain Kubernetes only provides the “core” — how to place and manage containers. To actually operate a container platform in an enterprise, you need a registry to store container images, a mechanism for building images from source code, a way to expose services externally, monitoring and log collection, security policies, and many other surrounding pieces of functionality — all of which you’d otherwise have to individually select and integrate yourself. OpenShift’s most fundamental value proposition is providing these surrounding pieces of functionality already selected, integrated, and bundled in by default.

Fundamentals, Explained Thoroughly

A Quick Recap of Kubernetes’s Basic Concepts

As a prerequisite for understanding OpenShift, here’s a brief organization of Kubernetes’s basic terminology.

TermMeaning
PodThe smallest unit of execution Kubernetes manages — a group of one or more containers.
NodeThe physical or virtual machine on which a Pod actually runs.
ClusterA collection of multiple Nodes — the whole that Kubernetes manages.
DeploymentA resource declaratively describing the desired state — “how many of this Pod I want kept running.” Kubernetes continuously and automatically adjusts the actual Pod count to match that declaration.
ServiceA mechanism that consolidates access to multiple Pods behind a single, stable address. Individual Pods come and go frequently, but a Service’s address stays the same.

The Main Functionality OpenShift Bundles In by Default

On top of Kubernetes’s basic concepts, OpenShift adds the following functionality by default:

The View From the Top 1% Perspective

Why Enterprises Choose OpenShift Over Plain Kubernetes

Using plain Kubernetes requires individually selecting the surrounding functionality mentioned above (registry, CI/CD, monitoring, security policy, and so on) from different open-source software or cloud services, and building it out while checking compatibility between them. This offers high flexibility, but demands specialized knowledge and effort to build and maintain. OpenShift already does this integration work ahead of time, providing it alongside a support contract from Red Hat, offering enterprises the option to “buy a finished car and start using it right away,” rather than “gather the parts and assemble it yourself.”

Common Misconceptions and Pitfalls

The Troubleshooting Perspective

This article is an overview covering OpenShift’s big picture, so hands-on operations and troubleshooting perspectives are covered concretely in A “Top 1%” Hands-On Lab: Running a Container Application on OpenShift Local.

Summary

What to Keep in Mind From Today

  1. When you encounter the term OpenShift, remember it’s a derivative of Kubernetes, not a competitor.
  2. When you encounter one of OpenShift’s own features, consciously map it back to the corresponding Kubernetes basic concept (Namespace, Ingress, and so on).

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).