Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Instana Detects a Kubernetes Pod in Crash Loop

When one of your containers has problems starting, it may result in a crash loop and, eventually, Kubernetes backing off to restart this container. Verify that Instana notices a crash loop and will alert you to take action.
Download now

Instana Detects a Kubernetes Pod in Crash Loop

When one of your containers has problems starting, it may result in a crash loop and, eventually, Kubernetes backing off to restart this container. Verify that Instana notices a crash loop and will alert you to take action.
Download now

Instana Detects a Kubernetes Pod in Crash Loop

When one of your containers has problems starting, it may result in a crash loop and, eventually, Kubernetes backing off to restart this container. Verify that Instana notices a crash loop and will alert you to take action.
Download now

Instana Detects a Kubernetes Pod in Crash Loop

When one of your containers has problems starting, it may result in a crash loop and, eventually, Kubernetes backing off to restart this container. Verify that Instana notices a crash loop and will alert you to take action.
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

Verify that Instana alerts you on pods not being ready to accept traffic for a certain amount of time.

Motivation

Kubernetes features a readiness probe to determine whether your pod is ready to accept traffic. If it isn't becoming ready, Kubernetes tries to solve it by restarting the underlying container and hoping to achieve its readiness eventually. If this isn't working, Kubernetes will eventually back off to restart the container, and the Kubernetes resource remains non-functional.

Structure

First, check that Instana doesn't have any critical events for an application perspective. As soon as one of the containers is crash looping, caused by the Steadybit attack crash loop, Instana should detect this via a critical event to ensure your on-call team is taking action.

Environment Example

The Kubernetes deployment checkout consists of two pods. We are attacking one of the two pods by causing a crash loop and waiting for Instana to detect the problem of the crashing pod.

Solution Sketch


Download now

.json (3 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
Instana
Restart
Crash loop
Harden Observability
GitHub
steadybit/reliability-hub-db/tree/main/recipes/instana.event-check-pod-crashloop
License
MIT
MaintainerSteadybit

Used Actions

See all
Cause Crash Loop

Causes a crash loop in a pod

Attack

Attack

Kubernetes pods

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