Last active
January 30, 2020 16:20
-
-
Save navidshaikh/328d8b75e734b13d38a69841eb3da5bf to your computer and use it in GitHub Desktop.
Get CRC running on local machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 - Get CRC: | |
https://github.com/code-ready/crc/releases | |
excerpts: | |
Downloads are available at: | |
https://mirror.openshift.com/pub/openshift-v4/clients/crc/1.4.0/ . | |
To use these binaries, please follow the instructions at https://cloud.redhat.com/openshift/install/crc/installer-provisioned | |
to obtain the needed pull-secret. | |
(download the pull-secret in your machine in a file) | |
2 - Extract the tar downloaded (there is a crc binary in there, add the extracted dir to your $PATH) | |
3 - Set crc config (one time) | |
``` | |
$ crc set cpus 6 | |
$ crc set memory 20480 | |
``` | |
4 - Setup (one time) | |
``` | |
$ crc setup | |
``` | |
5 - Start | |
``` | |
$ crc start -p ~/path-to-pull-secrets-from-step-1 | |
``` | |
6 - login to cluster | |
``` | |
$ #print credentials | |
$ crc console --credentials | |
``` | |
Note: | |
- If your script has commands for scaling machineset, please comment it out. | |
- With every new release of CRC, repeat the process to get the latest OCP running) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment