OpenShift 4 CodeReady Containers
From Dogtag
Contents
Prerequisites
$ dnf install origin-clients
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.7.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
To display access credentials:
$ ./crc console --credentials
To start the console:
$ ./crc console
Stopping OpenShift Cluster
$ ./crc stop
Removing OpenShift Cluster
$ ./crc delete