Local development
Last modified by Tomas Terälä on 2025/01/15 10:35
Contents
If for some reason you wish to run OpenShift locally for development and light testing, it is possible using the Codeready Containers software. You will need a RedHat account (for retrieving the pull secret for OpenShift container Images).
Codeready Containers is software similar to minikube, which will start a single virtual machine and a stripped single Node OpenShift environment. The software will additionally change your network setting (among other things DNS) in such a way that all names *.crc.testing will be forwarded to the virtual machines IP address.
- RedHat Developer (create an account if you don’t have one: login → create)
- RedHat OpenShift Cloud Service → login and choose “Clusters” → “Create cluster” → “Red Hat Openshift Container Platform” → “On your laptop”
- Get the installer and pull secret for your operating system.
- Install the software following these instructions.
- NOTE: On Linux the best supported are RPM based distros (rhel/centos/fedora), apparently from 1.20 onwards Ubuntu desktop will also be slightly better supported. On Linux you will anyway have to make sure that your system has a select few libvirt/qemu/kvm libraries installed.