Difference between revisions of "OpenShift 4 CodeReady Containers"

From Dogtag
Jump to: navigation, search
m (Starting OpenShift Console)
m (Installing OpenShift Cluster)
Line 10: Line 10:
See also [https://cloud.redhat.com/openshift/install/crc/installer-provisioned Install on Laptop: Red Hat CodeReady Containers].
Use the Pull Secret from  [https://cloud.redhat.com/openshift/install/crc/installer-provisioned this page].
= Starting OpenShift Cluster =
= Starting OpenShift Cluster =

Revision as of 00:03, 15 January 2020

Installing OpenShift Cluster

Download the CodeReady Containers:

$ wget https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz
$ tar xvf crc-linux-amd64.tar.xz
$ cd crc-linux-1.3.0-amd64
$ ./crc setup

Use the Pull Secret from this page.

Starting OpenShift Cluster

$ ./crc start


To display access credentials:

$ ./crc console --credentials

To authenticate as developer:

$ oc login -u developer -p developer https://api.crc.testing:6443

To authenticate as kubeadmin:

$ oc login -u kubeadmin -p <password> https://api.crc.testing:6443

Starting OpenShift Console

$ ./crc console

Stopping OpenShift Cluster

$ ./crc stop

Removing OpenShift Cluster

$ ./crc delete

See Also