Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Pod Count

Check

Check

Verifies Kubernetes pod counts
Targets:
Kubernetes deployments
Install now

Pod Count

Verifies Kubernetes pod counts
Check

Check

Targets:
Kubernetes deployments
Install now

Pod Count

Check

Check

Verifies Kubernetes pod counts
Targets:
Kubernetes deployments
Install now

Pod Count

Verifies Kubernetes pod counts
Check

Check

Targets:
Kubernetes deployments
Install now
Go back to list
Experiment EditorExperiment Editor

Introduction

Check if the count of ready pods is matching your expectation

It counts the number of all pods in the ready-state and compares it with the desired replica count. It, therefore, assumes that the specified mode (see below) becomes true within the specified timeout.

Use Cases

  • Check if the ready count is equal to the desired count
  • Check if the ready count is below the desired count
  • Check if there is at least one ready pod

Parameters

ParameterDescriptionDefault
TimeoutHow long should the check wait for the specified pod count?10s
Pod CountHow should the pod count change? (See values below)

Pod Count

You can use the pod count check in one of the following modes:

  • ready count = desired count: Can be used to assure that the amount of desired ready pods is equal to the actual amount in the cluster. Helpful to check e.g. after an attack whether every pod is recovering.
  • ready count > 0: To assure that for each pod in the cluster at least one pod is available to serve the traffic.
  • ready count < desired count: To make sure that all pods matching the check's query are below the specified ready count. This can be helpful in case you want to verify that e.g. exhausting memory leads to restarting the pods.
Statistics
-Stars
Tags
kubernetes
deployment
Homepage
github.com/steadybit/extension-kubernetes
License
MIT
MaintainerSteadybit

More Kubernetes Deployment Actions

See all
Delete Pods

Delete Kubernetes Pods

Attack

Attack

Kubernetes deployments

Start using Steadybit for free

Steadybit is free for personal use. Start your journey towards reliability!

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
HubActionsTargetsExtensionsRecipes
© 2023 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon