Difference between revisions of "Getting started with CRC"
Line 12: | Line 12: | ||
''./crc config --help''<br><br> | ''./crc config --help''<br><br> | ||
− | + | The first step is to run "./crc setup"<br> | |
In my case we get the following error:<br> | In my case we get the following error:<br> | ||
INFO Checking minimum RAM requirements<br> | INFO Checking minimum RAM requirements<br> | ||
crc requires at least 9.664GB to run<br> | crc requires at least 9.664GB to run<br> | ||
This was on a Red Hat virtual machine with only 8G of RAM<br> | This was on a Red Hat virtual machine with only 8G of RAM<br> |
Revision as of 10:04, 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