Difference between revisions of "OpenShift 4 CodeReady Containers"

From Dogtag
Jump to: navigation, search
m (Installing OpenShift Cluster)
m (See Also)
Line 60: Line 60:
 
* [[OpenShift 4]]
 
* [[OpenShift 4]]
 
* [https://cloud.redhat.com/openshift/install/crc/installer-provisioned Install on Laptop: Red Hat CodeReady Containers]
 
* [https://cloud.redhat.com/openshift/install/crc/installer-provisioned Install on Laptop: Red Hat CodeReady Containers]
 +
* [https://github.com/code-ready/crc CodeReady Containers]
 +
* [https://code-ready.github.io/crc/ CodeReady Containers - Getting Started Guide]

Revision as of 01:07, 18 March 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

Authentication

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