OpenShift 4 CodeReady Containers

From Dogtag
Jump to: navigation, search


$ dnf install origin-clients

Installing OpenShift Cluster

Download the CodeReady Containers:

$ wget
$ tar xvf crc-linux-amd64.tar.xz
$ cd crc-linux-1.7.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

To display access credentials:

$ ./crc console --credentials

To start the console:

$ ./crc console

Stopping OpenShift Cluster

$ ./crc stop

Removing OpenShift Cluster

$ ./crc delete

See Also