OpenShift 4 CodeReady Containers

From Dogtag
Revision as of 00:03, 15 January 2020 by Edewata (talk | contribs) (Installing OpenShift Cluster)

Jump to: navigation, search

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