crc-org / crc

CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes
https://crc.dev
Apache License 2.0
1.26k stars 239 forks source link

[Spike] Analyze what can be done with the OpenShift 4.8 to reduce resources #2507

Open guillaumerose opened 3 years ago

guillaumerose commented 3 years ago

The goal is to run 4.8 and analyze what runs, how many CPU and memory are used. The second goal is to look at the release notes and check if there is something we can turn on or off.

gbraad commented 3 years ago

The goal is to run 4.8 and analyze what runs, how many CPU and memory are used.

We already run basic tests, as this is what @praveenkumar relates to with the MCO being an issue. However, we need a comparison between 4.7 and 4.8 to determine what the memory used is.

The second goal is to look at the release notes and check if there is something we can turn on or off.

This needs some form of conformance tests and resource monitoring. Hopefully @jsliacan or @praveenkumar can chime in to speed up this process.

eschabell commented 3 years ago

Reported the previous issue https://github.com/code-ready/crc/issues/1287 which demos an application that used to work with about 3-6GB of memory on Minishift/OpenShift 3.x. Still looking for something that can run with less than 16-24GB RAM. Was moved forward into https://github.com/code-ready/crc/issues/557, but that also got closed out so pushing this into the pile here as it's been referenced. Happy to show a dev project spinning up using our MW products and operators or templates.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

eschabell commented 3 years ago

Well, that's not the outcome we were hoping for...

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

macgregor commented 2 years ago

would love to see CRC get some performance love. I've given up on being able to run it on my laptop and I know plenty of others who have as well. Running the cloud on your laptop is resource intensive, who knew? :)

Drabenstein commented 1 year ago

@macgregor I second this. My company decided to start to move towards OpenShift so I've decided to try CRC on my work laptop as well as my personal pc/laptop and I must admit it was cumbersome to say the least. Sometimes the installation failed in the middle and when it worked, CRC was such a resource hog... I have 32 GB RAM on each of those devices but nonetheless if you need also to open some IDE, web browser, mail, IM, etc., leaving like 10 GB to just run CRC without app under development seems like a ridiculous requirement.

I personally was disappointed about it because I had experience with Minikube, and now with Rancher Desktop (k3s), and they were really developer-friendly in terms of resource consumption as well as overall experience (dashboard, faultiness, speed of operation).

v4mpir0ck commented 1 year ago

please, allow crc being run on the IT pc guys that try to test your product. ;)

kevprice83 commented 6 months ago

@macgregor I second this. My company decided to start to move towards OpenShift so I've decided to try CRC on my work laptop as well as my personal pc/laptop and I must admit it was cumbersome to say the least. Sometimes the installation failed in the middle and when it worked, CRC was such a resource hog... I have 32 GB RAM on each of those devices but nonetheless if you need also to open some IDE, web browser, mail, IM, etc., leaving like 10 GB to just run CRC without app under development seems like a ridiculous requirement.

I personally was disappointed about it because I had experience with Minikube, and now with Rancher Desktop (k3s), and they were really developer-friendly in terms of resource consumption as well as overall experience (dashboard, faultiness, speed of operation).

I am curious about other options to run on my local env. I had a look at Rancher Desktop but it has the same requirements between RAM & CPU, is there an alternative deployment option there that doesn't have the 8GB RAM + 4 vCPU requirement?

From what I have seen CodeReady containers is pretty much on par with most other dev friendly setups.