Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Scale StatefulSet

AttackAttack
Up-/Downscale a Kubernetes StatefulSet
Targets:
Kubernetes statefulsets
Install now

Scale StatefulSet

Up-/Downscale a Kubernetes StatefulSet
AttackAttack
Install now

Scale StatefulSet

AttackAttack
Up-/Downscale a Kubernetes StatefulSet
Targets:
Kubernetes statefulsets
Install now

Scale StatefulSet

Up-/Downscale a Kubernetes StatefulSet
AttackAttack
Install now
Go back to list
Experiment EditorExperiment Editor

Introduction

Use this action to up or downscale a Kubernetes StatefulSet.

Use Cases

  • Verify that your StatefulSet is successfully scaled up and the new pod is taken into account by your load balancer
  • Check how long it takes to scale your StatefulSet to a desirable amount of pods

Parameters

NameRequiredDescriptionDefault
DurationtrueHow long should the new scale be used?180s
Replica CounttrueThe desired replica count1

Rollback

The old desired replica count will be restored after the action has ended.

Statistics
-Stars
Tags
Kubernetes
Homepage
hub.steadybit.com/extension/com.steadybit.extension_kubernetes
License
MIT
MaintainerSteadybit
Install now

Useful Templates

See all
Keep StatefulSet's pods down

Check what happens when all pods of a Kubernetes StatefulSet aren't coming up again.

Motivation

Typically, Kubernetes tries to keep as many pods running as desired for a Kubernetes StatefulSet. However, some circumstances may prevent Kubernetes from achieving this, like missing resources in the cluster, problems with the StatefulSet's probes, or a CrashLoopBackOff. You should validate what happens to your overall provided service when a given StatefulSet is directly affected by this or one of the upstream services used by your StatefulSet.

Structure

To keep the pods down for a given StatefulSet, we first kill all the pods in the StatefulSet. Simultaneously, we will scale down the Kubernetes StatefulSet to 0 to simulate that these pods can't be scheduled again. At the of the experiment, we automatically roll back the StatefulSet's scale to the initial value.

Upstream Service
StatefulSet
Kubernetes
Kubernetes cluster
Kubernetes pods
Kubernetes statefulsets

More Kubernetes Statefulset 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
© 2025 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon