π΄ Red Hat OpenShift Components (Explained Clearly)¶




Since you're already working with AWS infra, think of OpenShift as a managed Kubernetes control system with extra enterprise layers.
ποΈ 1οΈβ£ Control Plane (Master Nodes)¶
The brain of the cluster.
Built on top of Kubernetes
Core Kubernetes Components:¶
| Component | Purpose |
|---|---|
| API Server | Entry point to cluster |
| Scheduler | Decides where Pods run |
| Controller Manager | Maintains desired state |
| etcd | Cluster database |
OpenShift adds:
- Authentication server
- Web Console
- RBAC management
- Security policies
π₯οΈ 2οΈβ£ Worker Nodes¶
Where your applications run.
Each worker node contains:
- kubelet
- kube-proxy
- Container runtime (CRI-O)
- Pods (your apps)
Example: Your Medical backend container runs inside a Pod β inside Worker Node.
π 3οΈβ£ Routing Layer (OpenShift Feature)¶
Instead of Kubernetes Ingress, OpenShift uses:
π Routes¶
- Exposes services to external world
- Uses HAProxy router internally
- Auto generates public URL
Example:
π¦ 4οΈβ£ Image Management¶
OpenShift has built-in image handling.
ImageStreams¶
- Track container images
- Auto redeploy when new image pushed
Internal Registry¶
- Stores built images inside cluster
This is powerful for CI/CD.
ποΈ 5οΈβ£ Build System¶
OpenShift supports:
BuildConfig¶
Build container images directly from:
- GitHub repo
- Dockerfile
- Source code
No external Docker needed.
π 6οΈβ£ Security Components (Very Important)¶
OpenShift is stricter than Kubernetes.
- Security Context Constraints (SCC)
- RBAC
- OAuth authentication
- Project isolation
Containers donβt run as root by default (important interview point).
π 7οΈβ£ CI/CD (Pipelines)¶
Built using:
Tekton¶
OpenShift Pipelines allows:
- Git β Build β Deploy automation
- Full DevOps workflow inside cluster
ποΈ 8οΈβ£ Storage Layer¶
Supports:
- Persistent Volumes (PV)
- Persistent Volume Claims (PVC)
- Dynamic provisioning
- Cloud storage integration (EBS, Azure Disk, etc.)
π― Complete Component Flow¶
User β Route β Service β Pod β Worker Node Control Plane manages everything.
π₯ Interview Summary (Very Important)¶
OpenShift Components include:
- Control Plane (API server, Scheduler, etcd)
- Worker Nodes
- Routes
- ImageStreams
- BuildConfigs
- Internal Registry
- Security (SCC, RBAC)
- Pipelines (Tekton)