Share
Embed
Red Hat CodeReady Containers on Silverblue
Red Hat Livestreaming
March 16, 2021
Transcript
11 slides
-
1. Silverblue Install 1. Silverblue Install 1. download an installer
image: 2. create USB (I used Fedora MediaWriter, linked on the /download page) 3. disable BIOS secure boot (a required step for some hardware) 4. boot from USB 5. wipe partition table (or partition with /var) manual partitioning guide: 6. after first login, run: rpm-ostree update systemctl reboot https://silverblue.fedoraproject.org/download https://docs.fedoraproject.org/en- US/fedora-silverblue/installation/#manual-partition -
2. Silverblue Setup 2. Silverblue Setup install OS-level dependency requirements:
Add your user to the libvirtd group: rpm-ostree install qemu libvirt virt-manager sudo groupadd libvirtd sudo usermod -a -G libvirtd $(whoami) groups $(whoami) -
3. CRC Download 3. CRC Download Download latest CRC release
from: Tip: Remember to download or copy your CRC pull secret on this page https://cloud.redhat.com/openshift/create/local -
4. CRC Install 4. CRC Install cd ~/Downloads && tar
xvJf ./crc-*.xz mkdir -p ~/bin mv ./crc-linux-1.23.1-amd64/crc ~/bin -
6. CRC Startup 6. CRC Startup if you don't include
the -p flag, you'll need to interactively paste the pull secret during VM initialization Tip: make sure to note the admin credentials in the log output! crc start -p ~/Downloads/pull_secret -
Access the resulting web console with: (proceed through a short
series of SSL warnings... 1,2,3) crc console -
7. Follow-up Tasks 7. Follow-up Tasks 1. Visit the embedded
OperatorHub service directory. Try installing an operator to enable professionally-maintained cloud service solutions on your cluster. After installation via Hub (by a cluster admin), operator-backed solutions will available for use by standard developers 2. Add additional user accounts, login as a normal (non-admin) user, then - try building and deploying a basic application -
8. Cleanup 8. Cleanup When you're done having fun: Halt
the VM with: crc stop Remove the VM entirely (reclaim disk space): crc delete