Difference between revisions of "Getting started with CRC"
Line 8: | Line 8: | ||
'''''./crc config view''''' to view the most important settings <br> | '''''./crc config view''''' to view the most important settings <br> | ||
'''''./crc config set preset okd''''' (switch to '''OKD''' version)<br> | '''''./crc config set preset okd''''' (switch to '''OKD''' version)<br> | ||
− | '''''./crc config set consent-telemetry no''''' (stop telemetry)<br> | + | '''''./crc config set consent-telemetry no''''' (stop telemetry)<br><br> |
+ | ./crc --help (to see help) eg<br> | ||
+ | ./crc config --help<br> |
Revision as of 09:58, 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