Get up and running with OpenShift (CRC) and EKS (LocalStack) clusters in minutes.
Required for OpenShift CRC
- Visit: https://console.redhat.com/openshift/create/local
- Create a free Red Hat Developer account (if needed)
- Click "Download pull secret"
- Save the file
# This will install all tools and dependencies
gitpod devcontainer rebuildWait for the rebuild to complete (~5-10 minutes).
After the container rebuilds, run:
./setup-crc-pull-secret.shChoose option 1 or 2 to provide your pull secret.
The clusters should start automatically. If not:
./cluster-manager.sh start-allNote: First-time CRC setup takes 10-15 minutes.
# Check installation
./verify-setup.sh
# Check cluster status
./cluster-manager.sh status
# Test OpenShift
oc get nodes
oc projects
# Get OpenShift console credentials
crc console --credentials
# Test EKS
kubectl config use-context arn:aws:eks:us-east-1:000000000000:cluster/eks-local
kubectl get nodes# Check status
crc status
# Get console URL
crc console --url
# Get credentials
crc console --credentials
# View nodes
oc get nodes
# List projects
oc projects
# Create a new project
oc new-project my-project# Switch to EKS context
kubectl config use-context arn:aws:eks:us-east-1:000000000000:cluster/eks-local
# List clusters
awslocal eks list-clusters
# Get cluster info
awslocal eks describe-cluster --name eks-local
# View nodes
kubectl get nodes# Using cluster-manager script
./cluster-manager.sh switch-os # Switch to OpenShift
./cluster-manager.sh switch-eks # Switch to EKS
# Using kubectx (easier!)
kubectx # List all contexts
kubectx kind-eks-local-eks-a-cluster # Switch to EKS Anywhere
kubectx - # Switch to previous context
# Using kubens to switch namespaces
kubens # List all namespaces
kubens eksa-system # Switch to eksa-system namespace
kubens - # Switch to previous namespace# Check logs
crc logs
# Try manual start
crc stop
crc start -p ~/.crc/pull-secret.json# Reconfigure pull secret
./setup-crc-pull-secret.sh
# Or manually
crc start
# Follow prompts# Check container
docker ps | grep localstack
# Restart LocalStack
./cluster-manager.sh restart-eks
# View logs
./cluster-manager.sh logs-eksCRC requires significant resources:
- 16 GB RAM
- 6 CPU cores
- 100 GB disk
Adjust in .devcontainer/post-create.sh:
crc config set memory 12288 # Reduce to 12 GB
crc config set cpus 4 # Reduce to 4 coresThen rebuild the container.
- OpenShift Console: Access the web UI at the URL from
crc console --url - Deploy Applications: Use
oc new-appor the web console - EKS Testing: Deploy workloads to test AWS EKS compatibility
- Multi-cluster: Practice switching between clusters
- README.md - Full documentation
- ARCHITECTURE.md - Technical architecture
- PULL_SECRET.md - Detailed pull secret guide
- CHANGES.md - What changed from kind to CRC
- OpenShift Documentation
- LocalStack Documentation
If you encounter issues:
- Check
./cluster-manager.sh status - Run
./verify-setup.sh - Review logs:
crc logsor./cluster-manager.sh logs-eks - Consult the troubleshooting sections in README.md