This guide covers using OpenShift Local (CRC) for local development of the Ambient Code Platform.
🎉 STATUS: FULLY WORKING - Project creation, authentication, full OpenShift features
OpenShift Local (CRC) provides a complete OpenShift cluster on your local machine, including:
- ✅ Full OpenShift features (Routes, BuildConfigs, etc.)
- ✅ OAuth authentication
- ✅ OpenShift console
- ✅ Production-like environment
# macOS
brew install crc
# Get Red Hat pull secret (free account):
# 1. Visit: https://console.redhat.com/openshift/create/local
# 2. Download to ~/.crc/pull-secret.json
# That's it! The script handles crc setup and configuration automatically.make local-upFirst run: ~5-10 minutes. Subsequent runs: ~2-3 minutes.
- Frontend: https://vteam-frontend-vteam-dev.apps-crc.testing
- Backend: https://vteam-backend-vteam-dev.apps-crc.testing/health
- Console: https://console-openshift-console.apps-crc.testing
make local-test# Start local environment
make local-up
# Rebuild components after changes
make local-rebuild# Day-to-day workflow
make local-up # Start environment
make local-test # Run tests
make local-down # Stop (keep cluster running)
make local-clean # Full cleanup
# Logs
make local-logs # All logs
make local-logs-backend # Backend only
make local-logs-frontend # Frontend only
make local-logs-operator # Operator only
# Status and troubleshooting
make local-status # Show status of local deployment
make local-troubleshoot # Show troubleshooting informationmacOS:
# Option 1: Homebrew (Recommended)
brew install crc
# Option 2: Manual Download
curl -LO https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/crc-macos-amd64.tar.xz
tar -xf crc-macos-amd64.tar.xz
sudo cp crc-macos-*/crc /usr/local/bin/
chmod +x /usr/local/bin/crcLinux (Fedora/RHEL/CentOS):
curl -LO https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz
tar -xf crc-linux-amd64.tar.xz
sudo cp crc-linux-*/crc /usr/local/bin/
sudo chmod +x /usr/local/bin/crcUbuntu/Debian:
# Install dependencies
sudo apt-get update
sudo apt-get install qemu-kvm libvirt-daemon libvirt-daemon-system network-manager
# Download and install CRC
curl -LO https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz
tar -xf crc-linux-amd64.tar.xz
sudo cp crc-linux-*/crc /usr/local/bin/
sudo chmod +x /usr/local/bin/crc- Visit: https://console.redhat.com/openshift/create/local
- Sign in (or create free account)
- Download pull secret
- Save to
~/.crc/pull-secret.json
The make local-up script will automatically use this pull secret.
- Routes (not just Ingress)
- BuildConfigs for local image builds
- OpenShift console
- OAuth authentication
- Production-like environment
- Hot-reloading with
DEV_MODE=true - Rebuild with
make local-rebuild - Quick operator restarts
- Component-specific log viewing
- Automated test suite
- Operator integration tests
- Full platform validation
Use CRC when:
- ✅ You need full OpenShift features (Routes, BuildConfigs)
- ✅ You want production-like environment
- ✅ You're testing OAuth integration
- ✅ You need OpenShift console access
Use Kind when:
- ✅ You want faster startup
- ✅ You're running E2E tests
- ✅ You don't need OpenShift-specific features
See Local Development Comparison for detailed comparison.
# Check CRC status
crc status
# View detailed logs
crc logs
# Reset if needed
crc delete
make local-up# Check pod status
oc get pods -n vteam-dev
# View pod logs
oc logs -n vteam-dev <pod-name>
# Describe pod for events
oc describe pod -n vteam-dev <pod-name># Check routes
oc get routes -n vteam-dev
# Verify CRC networking
crc ip
ping $(crc ip)
# Check /etc/hosts
grep apps-crc.testing /etc/hosts# Check build logs
oc logs -n vteam-dev bc/vteam-backend -f
# Restart build
oc start-build vteam-backend -n vteam-dev# Configure CRC resources before first start
crc config set cpus 6
crc config set memory 16384 # 16GB
crc config set disk-size 100 # 100GB
# Then start
make local-up# Use external registry instead of internal
export CONTAINER_REGISTRY=quay.io/your-username
make local-up# Stop but keep cluster running
make local-down
# Full cleanup (deletes cluster)
make local-clean- Local Development Comparison - CRC vs Kind
- Kind Development - Alternative local environment
- Hybrid Development - Run components locally
- CLAUDE.md - Development standards
- OpenShift Local Documentation: https://crc.dev/crc/
- Red Hat OpenShift: https://www.redhat.com/en/technologies/cloud-computing/openshift
- CRC GitHub: https://github.com/crc-org/crc