🚀 Setting Up OpenShift (CRC) on a Windows Laptop – My Experience
Running a full OpenShift cluster locally might sound heavy—but with CodeReady Containers (CRC), it’s surprisingly achievable. I recently set up OpenShift Local (CRC) on my Windows machine and here’s a practical guide along with key learnings from the process.
🔧 What is CRC?
CodeReady Containers (CRC) allows you to run a single-node OpenShift cluster locally on your laptop. It’s perfect for:
- Learning OpenShift
- Testing deployments
- Practicing real-world DevOps workflows
⚙️ Prerequisites
Before starting, make sure your system is ready:
- ✅ Windows 10/11 (latest updates installed)
- ✅ Hyper-V enabled
- ✅ Virtualization enabled in BIOS
- ✅ Minimum 12GB RAM (16GB recommended for smooth performance)
- ✅ At least 120-150 GB free disk space
🔽 Step-by-Step Setup
1️⃣ Download CRC
- Download CRC from the official Red Hat website
- Extract the archive
- Add the CRC binary to your system PATH
2️⃣ Setup CRC Environment
Run the following command:
crc setup
This prepares your system and checks for dependencies.
3️⃣ Start the OpenShift Cluster
crc start
- You’ll be prompted to log in using your Red Hat account
- The initial startup may take several minutes ⏳
4️⃣ Access OpenShift Web Console
After startup, CRC provides a URL like:
https://console-openshift-console.apps-crc.testing
- Open it in your browser
- Log in using:
- Developer user (for app deployments)
- Admin user (for cluster management)
🛠️ Useful Commands
crc status # Check cluster status
crc stop # Stop the cluster
crc start # Start again
crc delete # Reset cluster (use if issues occur)
💡 Key Learnings
✅ RAM matters a lot
12GB is minimum, but 16GB+ gives a much smoother experience
✅ First startup is slow
Be patient—cluster components take time to initialize
✅ Troubleshooting is part of the process
- Network issues
- Permission errors
- Resource constraints
👉 If things break:
crc delete
crc setup
crc start
Fresh start often resolves most issues.
🎯 Why CRC is Important
✔️ Run OpenShift locally without cloud cost
✔️ Practice enterprise Kubernetes (OpenShift)
✔️ Learn Routes, Builds, Operators, and Projects
✔️ Great for DevOps engineers preparing for real-world scenarios
📌 Real Value
This setup helped me:
- Understand OpenShift architecture
- Work with oc CLI and web console
- Deploy and manage applications in a real OpenShift environment
💬 Final Thoughts
If you’re serious about Kubernetes and OpenShift, CRC is a must-try tool. It bridges the gap between theory and hands-on experience—right from your laptop.
Start local, experiment freely, and build production-ready skills 🚀
🔖 Tags:
#OpenShift #CRC #Kubernetes #DevOps #RedHat #CloudNative #LearningByDoing
Loading Viewer…
Discover more from DevOps with Patil
Subscribe to get the latest posts sent to your email.