Allows you to setup a remote crc cluster exposed at https://console-openshift-console.apps.<local-ip>.nip.io
Resource | Required |
---|---|
CPU | 4 Core / Threads |
RAM | 16GB |
Disk | 80GB |
OS | Rocky Linux 9 |
Nested Virtualization | Enabled |
- SSH as root
ssh root@<ip>
- Create the
crc
user
adduser crc
echo password | passwd crc --stdin
echo "crc ALL=(root) NOPASSWD:ALL" | tee -a /etc/sudoers.d/crc
chmod 0440 /etc/sudoers.d/crc
- Download the pull secret from https://console.redhat.com/openshift/create/local and save it as
pull-secret.json
under/home/crc/pull-secret.json
-
SSH as
crc
user created above (Do no use su -) -
Run the installation script
curl https://raw.githubusercontent.com/iLLeniumStudios/remote-crc-setup/main/install.sh | bash
- Wait for the script to finish the installation. You should see something like this once everything is done:
Console available here: https://console-openshift-console.apps.10.0.6.188.nip.io
Console Login Credentials:
USERNAME: kubeadmin PASSWORD: vAFof-LsHb3-S2dv6-Yj3mF
CLI Login Command: oc login -u kubeadmin -p vAFof-LsHb3-S2dv6-Yj3mF https://api.10.0.6.188.nip.io:6443
Note that the script enables cluster monitoring components as well. If you don't need those, you can disable them from the
install.sh
script