Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Stress CPU

Attack

Attack

Generate CPU load for one or more cores. The resources on a host are shared between containers. Running a resource attack for a container is executed in the containers namespace, but affects the host's resources and all containers running on it.
Install now

Stress CPU

Generate CPU load for one or more cores. The resources on a host are shared between containers. Running a resource attack for a container is executed in the containers namespace, but affects the host's resources and all containers running on it.
Attack

Attack

Targets:

Containers

Install now

Stress CPU

Attack

Attack

Generate CPU load for one or more cores. The resources on a host are shared between containers. Running a resource attack for a container is executed in the containers namespace, but affects the host's resources and all containers running on it.
Install now

Stress CPU

Generate CPU load for one or more cores. The resources on a host are shared between containers. Running a resource attack for a container is executed in the containers namespace, but affects the host's resources and all containers running on it.
Attack

Attack

Targets:

Containers

Install now
Go back to list

Introduction

Generate CPU load for one or more cores

Usage

The resources on a host are shared between containers. Running a resource attack for a container is executed in the containers cgroup, but affects the host's resources and all containers running on it.

Use Cases

  • Test your application's resilience to high CPU load

Parameters

ParameterDescriptionDefault
CPU LoadHow many CPU should be consumed?100
Container CPUsHow many workers should be used to stress the CPU?All Cores
DurationHow long should CPU be consumed?30s
Statistics
-Stars
Tags
Container
Kubernetes
CPU
Homepage
hub.steadybit.com/extension/com.steadybit.extension_container
License
MIT
MaintainerSteadybit
Install now

Useful Templates

See all
Stress CPU of Kubernetes DaemonSet

Learn how easy you can stress CPU of an entire Kubernetes DaemonSet.

DaemonSet
Starter
Snippet
Kubernetes
CPU

Containers

Kubernetes Horizontal Pod Autoscaler Scales up Within Reasonable Time

Verify that your horizontal pod autoscaler scales up your Kubernetes deployment on increased CPU usage.

Motivation

Important deployments should be scaled up within a reasonable time for an elastic and resilient cloud infrastructure. Undetected high CPU spikes and long startup times are undesirable in these infrastructures.

Structure

First, we ensure that all pods are ready to serve traffic. Afterward, we inject high CPU usage into the pods' container and expect that within a reasonable amount of time, the horizontal pod auto scaler will increase the number of pods and become ready to handle incoming traffic.

Scalability
Horizontal Pod Autoscaler
CPU
Kubernetes

Containers

Kubernetes cluster

Kubernetes deployments

More Container Actions

See all
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Steadybit logoResilience Hub
Try Steadybit
© 2024 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon