vishh / stress

Lightweight compute resource stress utlity
MIT License
59 stars 31 forks source link

Support for ARM architecture #1

Open woile opened 5 years ago

woile commented 5 years ago

Hello vishh!

A kubernetes course I'm following uses your stress image to teach cpu and memory constrains, but I'm running my cluster in some raspberries which have an arm architecture (instead of the normal amd64). As I'm not familiar with go, I was wondering if you could publish an image with support for arm32 (armv7l). Or give me some information on how to do it, I wouldn't mind publishing the image myself.

Thanks a lot!!

cwilkers commented 4 years ago

Hello @Woile I've been playing with this repo too. If you still have any interest in seeing an ARM version, I have submitted a revised Dockerfile in https://github.com/vishh/stress/pull/2 which builds the Go code within a golang official container and then creates a container for the finished binary.

You could clone this and add GOARCH=arm to the go build line to create an ARM container.

witchcraftsman commented 2 years ago

the code is here - https://github.com/witchcraftsman/stress arm64 image - https://hub.docker.com/repository/docker/desperex/stress

ArturMarekNowak commented 1 year ago

Oh My God, thank you very much it worked! I am also using ARM64 processors and I couldn't go forward with my CKAD course. Thank you again!

blackron83 commented 9 months ago

Oh My God, thank you very much it worked! I am also using ARM64 processors and I couldn't go forward with my CKAD course. Thank you again!

Have you been able to complete your CKAD course using an ARM64 processor?

ArturMarekNowak commented 9 months ago

Oh My God, thank you very much it worked! I am also using ARM64 processors and I couldn't go forward with my CKAD course. Thank you again!

Have you been able to complete your CKAD course using an ARM64 processor?

I have been able to accomplish CKAD, but at some point I gave up on the RaspberryPi (with ARM processors) and switched to GCP. It is possible to accomplish the CKAD training for the exam but it does require a lot of tweeking to be honest and the training states clearly that it is prepared for AWS and GCP machines. The exam itself I thankfully passed at the first take :D