stress icon indicating copy to clipboard operation
stress copied to clipboard

Support for ARM architecture

Open woile opened this issue 6 years ago • 6 comments

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!!

woile avatar Jul 05 '19 16:07 woile

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.

cwilkers avatar Jan 15 '20 20:01 cwilkers

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

witchcraftsman avatar Sep 02 '22 21:09 witchcraftsman

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!

ArturMarekNowak avatar Aug 08 '23 18:08 ArturMarekNowak

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?

blackron83 avatar Dec 26 '23 12:12 blackron83

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

ArturMarekNowak avatar Dec 26 '23 21:12 ArturMarekNowak

If anyone still needs vish/stress for ARM, I've compiled a container here: https://hub.docker.com/repository/docker/boundsgilder/stress/tags based on the code from this repo, with slight modifications to main.go and Dockerfile: https://github.com/livz/stress

https://craftware.xyz/cka/2025/06/20/vish-stress.html

livz avatar Jun 20 '25 20:06 livz