Difference between revisions of "Getting started with CRC"

From MyWiki
Jump to: navigation, search
Line 19: Line 19:
 
<br>
 
<br>
 
The above was an attempt with a Linux system, looks like we will have to try WSL2 on Windows as, for me, that system has a lot more memory, lets see how it goes.<br>
 
The above was an attempt with a Linux system, looks like we will have to try WSL2 on Windows as, for me, that system has a lot more memory, lets see how it goes.<br>
Cancel that, I've managed to add virtual memory to the ESXi Red Hat so we can have another go<br>
+
'''Cancel that,''' I've managed to add virtual memory to the ESXi Red Hat so we can have another go<br>

Revision as of 10:22, 15 February 2024

Prerequisites: you need to have a platform with working virtulisation eg KVM.
Reference: https://www.redhat.com/sysadmin/codeready-containers
Reference: https://www.okd.io/ (The OKD version)

Red Hat CodeReady Containers (CRC) provides a minimal, preconfigured OpenShift 4 cluster on a laptop or desktop machine for development and testing purposes. CRC is delivered as a platform inside of the VM.

"crc" is a binary file which is run like ./crc By default the "crc" downloaded from Red Hat is configured to require a "pull-secret". We can configure it to nor require this by switching it to the OKD version as follows:
./crc config view to view the most important settings
./crc config set preset okd (switch to OKD version)
./crc config set consent-telemetry no (stop telemetry)

./crc --help (to see help) eg
./crc config --help

The first step is to run "./crc setup"
     In my case we get the following error:
    INFO Checking minimum RAM requirements
    crc requires at least 9.664GB to run
This was on a Red Hat virtual machine with only 8G of RAM

The above was an attempt with a Linux system, looks like we will have to try WSL2 on Windows as, for me, that system has a lot more memory, lets see how it goes.
Cancel that, I've managed to add virtual memory to the ESXi Red Hat so we can have another go