Sign inSign up

canlif/cpu-stress-test

By canlif

•Updated almost 2 years ago

Simple stress test application using alpine image

Image
Operating systems
0

10K+

canlif/cpu-stress-test repository overview

You can use this image to test the Kubernetes horizontal pod autoscaling feature. Container simply sends "y" to /dev/null As soon as the pod is running, it will use 100% CPU.

⁠Here is the Dockerfile:

# Use syntax version 1.3-labs for Dockerfile
# syntax=docker/dockerfile:1.3-labs

FROM alpine:3.20

CMD echo "Process started..." && yes > /dev/null

Tag summary

Content type

Image

Digest

sha256:8bb620c15…

Size

3.5 MB

Last updated

almost 2 years ago

docker pull canlif/cpu-stress-test