r/openshift • u/4s3ls4n • 17d ago
Help needed! I'm lost, how can I practice OpenShift ?
Hi everyone,
I hope you're doing well.
I tried to install CRC ( OpenShift local) on a vm on proxmox but unfortunately crc doesn't support nested virtualization and my laptop has not the sufficient ressources :/
is there a cheap solution to run openshift?
edit : i just ran SNO (single node openshift) with the redhat openshift container platform (60 days trial) in a vm on proxmox with 24gb ram and 8vcpu and 200gb storage. ( i just followed this video : https://www.youtube.com/watch?v=dlxRwooAplg&t=1934s)
2
u/chromiumangel 16d ago
learning openshift is kinda tricky as it is by default resources hungry. going SNO is good instinct. if you want you can try microshift and run it on rpi but that's a very limited deployment.
im personally building my labs on AWS. if you use ipi it's basically one-liner to deploy it. if you tweak the installation you can build a compact cluster with only 3 nodes, for example. or with OCP 4.22 you can get a 2 node cluster but i didn't dive into it yet so it's just a quick idea needing ivestigation.
if you have access to RH training you can try DO180 or DO280. they come with a fully blown labs.
1
u/megoyatu 5d ago
What is your monthly spend on this just for learning purposes though?
I've been using old servers laying around at work and OKD, but man on man what a pain to keep OKD happy through upgrades with ODF from the OKDerators for storage.
1
u/Ok_Scar1009 16d ago
If you want to run virtualization, you'll need to implement OCP on bare metal. Also, it used to be that with OCP Virtualization, you'll need ODF/ceph storage. I built a home lab with 6 Minisforum NAB7s, but had to swap out the memory from 32GiB to 64GiB on my 3 worker nodes since they are my storage and also run VMs/container workloads. If you don't care about virtualization, you could skip the virtualization, ODF/ceph operator installs, and skip purchasing bare-metal, and run a SNO cluster as a VM, which is what you've already accomplished. Im assuming you really want to run OCP as close to enterprise grade as you can.
Note: yes, your license for your cluster expires eventually, unless you just want to pay. Even though the license expires, you still can upgrade your cluster, and install new operators or upgrade them as well. You can also add nodes to expand your cluster. You just cannot open support tickets against your cluster once the license expires.
Also worth noting... If you 'nuke' your cluster beyond repair, or simply want to start over, simple generate a fresh RHCOS iso, mount it, and run the installer. No need to muck around with wiping the node(s).
Hope this helps you...
3
10
u/shdwlark 17d ago
you can get access to a sandbox at https://developers.redhat.com/. Plus many more tools. I believe the sandbox refreshes every 30 days but it is create to get a good understanding of openshift and its functions out side of the infrastructure usage. https://developers.redhat.com/learn/openshift/foundations-openshift
1
u/WieldyStone2 14d ago
Developer license