Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Verify Time to Readiness of Your Deployment

Quick startup times are favorable in Cloud environments to enable fast recovery and improve scaling.
Download now

Verify Time to Readiness of Your Deployment

Quick startup times are favorable in Cloud environments to enable fast recovery and improve scaling.
Download now

Verify Time to Readiness of Your Deployment

Quick startup times are favorable in Cloud environments to enable fast recovery and improve scaling.
Download now

Verify Time to Readiness of Your Deployment

Quick startup times are favorable in Cloud environments to enable fast recovery and improve scaling.
Download now
Go back to list
The experiment editor showing the visual structure of the experiment.The experiment editor showing the visual structure of the experiment.

Intent

Quick startup times are favorable in Cloud environments to enable fast recovery and improve scaling.

Motivation

In Cloud environments it is accepted that a pod or container may crash - the more important principle is that it should recover fast. A faster startup time is beneficial in that case as it results in a smaller Mean Time To Recover (MTTR) and reduces the amount of user-facing downtime. Also, in case of request peaks, a reasonably short startup time allows scaling the deployment properly.

Structure

We simply stop a container of one of the pods in order to measure the amount of time until the pod is marked as ready again. Therefore, we ensure before stopping the container that the deployment is currently ready. If so, we stop the container and expect the number of ready pods to drop. Within a reasonable time (i.e. 60 seconds) the container should start up again and all desirable pods marked as ready.

Environment Example

A simple deployment with at least one pod at one running container is sufficient to try out the recipe. In our case, it is a container named toys-bestseller running a Java-based application.

Solution Sketch


Download now

.json (4 kB)

It's quick and easy

  1. 1.

    Download .json file
  2. 2.

    Upload it inside Steadybit
  3. 3.

    Start your experiment!
Screenshot showing the Steadybit UI elements to import the experiment.json file into the Steadybit platform.
Tags
Kubernetes
Recoverability
Scalability
GitHub
steadybit/reliability-hub-db/tree/main/recipes/kubernetes-deployment.time-to-readiness
License
MIT
MaintainerSteadybit

Used Actions

See all
Pod Count

Verifies Kubernetes pod counts

Check

Check

Kubernetes deployments

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