OpenShift Local (CRC) on Fedora

Install and use OpenShift Local (CRC) on Fedora with oc, kubectl, Helm, and Operators.

What you'll learn

How to install OpenShift Local (CRC) on Fedora, run a single-node OpenShift 4 cluster in a local VM, and deploy applications with kubectl and the OpenShift CLI oc. The chapters use kubectl for the shared Kubernetes workflow and add an oc way callout wherever OpenShift gives you a shorter or more capable path. Later sections cover Routes and edge TLS, Helm on OpenShift, OpenShift Service Mesh, and installing Operators from OperatorHub.

Overview

Tutorial outline

What this guide covers, who it is for, and how the chapters fit together.

Read โ†’
Section 1

Prerequisites and getting CRC

Prepare the Fedora host, create a free Red Hat Developer account, download OpenShift Local and the pull secret, and plan the cluster size.

Read โ†’
Section 2

Installation

Install the crc binary, put it on your PATH, and wire up the oc and kubectl clients the cluster ships with.

Read โ†’
Section 3

Starting the cluster

Set the cluster size, run crc setup, start OpenShift with your pull secret, and log in with oc and the web console.

Read โ†’
Section 4

oc and kubectl

The two CLIs side by side: what they share, where oc does more, and how projects relate to namespaces.

Read โ†’
Section 5

Deploying applications

Run a first workload with a Deployment and Pods using kubectl, with the oc shortcuts, and meet OpenShift's restricted-v2 security defaults.

Read โ†’
Section 6

Routes and edge TLS

Expose a Service to your host with an OpenShift Route and TLS terminated at the edge, instead of a NodePort.

Read โ†’
Section 7

Helm on OpenShift

Deploy with the Helm CLI, write charts that satisfy restricted-v2, and use OpenShift's native Helm integration and the Helm-based operator pattern.

Read โ†’
Section 8

OpenShift Service Mesh

Install OpenShift Service Mesh 3 and Kiali as Operators, bring up the Istio control plane, enable sidecar injection, enforce STRICT mTLS, and split traffic with a canary.

Read โ†’
Section 9

Operators

How OperatorHub and OLM work, how to pin an operator version safely, and the operators this guide relies on, including Cluster Observability, Node Tuning, and networking.

Read โ†’
Section 10

Persistent storage

Give a workload storage that survives a Pod restart with a PersistentVolumeClaim and OpenShift's dynamic provisioning on CRC.

Read โ†’
Section 11

Autoscaling

Scale a workload on load with the Horizontal Pod Autoscaler and the Custom Metrics Autoscaler (KEDA), including scale-to-zero.

Read โ†’
Section 12

Editor and shell

Work inside the cluster: a shell in a running Pod with oc rsh, a throwaway debug Pod with oc debug, file copies, port-forwards, and the web terminal.

Read โ†’
Section 13

Alternatives

Where OpenShift Local fits next to minikube, kind, the Developer Sandbox, and a real remote OpenShift cluster, and when to reach for each.

Read โ†’
Section 14

FAQ

Common questions and fixes for OpenShift Local: slow starts, resource pressure, networking, the oc client, security defaults, and credentials.

Read โ†’
Section 15

Where to go next

Paths onward from a local OpenShift: certifications, moving to a remote cluster, deeper platform topics, and the sibling guides.

Read โ†’
Section 16

Examples

The runnable examples that accompany the chapters, where they live, and how their verification status is tracked.

Read โ†’
Section 17

Final project: a data mesh on OpenShift

The final project that converges the guide: a seven-service data mesh deployed to OpenShift Local, where restricted-v2, Routes, the integrated registry, Helm, the mesh, storage, and autoscaling all meet in one system.

Read โ†’
Section 18

Appendix: Kubernetes patterns on OpenShift (EX280/DO280)

A pattern-per-chapter reference to cloud-native Kubernetes design patterns, worked on OpenShift with restricted-v2 manifests and the tutorial's shipping services, and reconciled against the DO280/EX280 exam. Organized as its own set.

reference Read โ†’