crc-org / osp4

Proof of Concept repository of CodeReady Containers [Archived]
Apache License 2.0
26 stars 16 forks source link
libvirt virtualbox

This repository is only a proof of concepts of CodeReady Containers.

The actual implementation will be at https://github.com/code-ready/crc

Run OpenShift 4.0 locally

Note: Experimental for Mac and Linux, Tarball is shared internally (announced on aos-devel ML)

Virtualbox on macOS

Prerequisites

Steps

Run these commands from the tarball extracted directory:

NOTE: the script run some verification that port 53 is not already in used, double check is the port is not in used with sudo lsof -i -n -P | grep TCP

NOTE: to verify coredns is running, look at log sudo cat /tmp/coredns.log

hyperkit on macOS

Prerequisites

Steps

libvirt on Linux

Prerequisites

Steps

Run these commands from the installed/extracted directory:

How to expose use webconsole

Get the route url from the openshift-console namespace

$ oc get routes -n openshift-console
NAME        HOST/PORT                                     PATH   SERVICES    PORT    TERMINATION          WILDCARD
console     console-openshift-console.apps.tt.testing            console     https   reencrypt/Redirect   None
downloads   downloads-openshift-console.apps.tt.testing          downloads   http    edge                 None

Running it

In the browser use https://console-openshift-console.apps.tt.testing

To login use:

Community

Contributions, questions, and comments are all welcomed and encouraged!