DEV Community

KenjiGoh
KenjiGoh

Posted on • Edited on

Getting Started with Openshift on Windows

Step-by-Step Instructions

1. Register account at Redhat

2. Go Console

3. Download OpenShift local

console

4. Unzipped the downloaded folder at C:\Users\username\crc

5. Open Powershell and run crc setup. Will take awhile to setup.

crc setup
Enter fullscreen mode Exit fullscreen mode

setup

6. After setup is down run crc start

crc start
// if face error
crc start --log-level debug
Enter fullscreen mode Exit fullscreen mode
  • It will eventually prompt you for the pull secret.
  • Copy from the console and right-click to paste to the terminal.
  • It will then take awhile to start up the container.

Image description

7. Test that Openshift Cli oc is properly installed.

Copy and paste the following command:

oc login -u developer https://api.crc.testing:6443
Enter fullscreen mode Exit fullscreen mode

8. Head over to Sandbox and start a 30-day trial sandbox account.

Image description

9. Login to your sandbox once provisioned and download oc CLI

Extract the file and save it to "C:\Users\username\oc-folder" or any preferred location.
Image description

10. Add the oc CLI file path to the environment variables

Image description

11. Open powershell and run oc to verify.

12. Logging into sandbox via cli

Go over to sandbox console and copy login command
This will open a new tab with your API token and login command.
Image description

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up