Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Keep StatefulSet's Pods Down

Targets:
Kubernetes cluster
Kubernetes pods
Kubernetes statefulsets
Use Template

Keep StatefulSet's Pods Down

Use Template

Keep StatefulSet's Pods Down

Targets:
Kubernetes cluster
Kubernetes pods
Kubernetes statefulsets
Use Template

Keep StatefulSet's Pods Down

Use Template
Go back to list

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.


Tags
Upstream Service
StatefulSet
Kubernetes
GitHub
steadybit/reliability-hub-db/tree/main/templates/kubernetes-statefulset.keep-pods-down
License
MIT
MaintainerSteadybit
Use Template

How to use this template?

Import via Hub Connection

Steadybit’s Reliability Hub is already connected to your platform. If you are an admin, you can just easily import templates with just one click.

Import template

Are you on-prem?

This is how you import Templates

Import as Experiment

Simply download the template and upload it as an experiment to use it once. Perfect if you are no administrator in the platform and just want to use the template once.

.json (4KB)

Delete Pod
Deletes a pod
AttackAttack
Kubernetes pods
>_ boost your chaos journey Connect Your Hub to Steadybit

Maximise Steadybit potential! Connect your own Hub to the platform and smoothly import your own templates: using them it’s never been this easy!

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