Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Validate Kubernetes Probes for an Unavailable Upstream Service

Use Template

Validate Kubernetes Probes for an Unavailable Upstream Service

Use Template

Validate Kubernetes Probes for an Unavailable Upstream Service

Use Template

Validate Kubernetes Probes for an Unavailable Upstream Service

Use Template
Go back to list

Failing upstream service (e.g., message broker, database, or cache) shouldn't cause liveness or readiness probe failures in Kubernetes to avoid cascading restarts.

Motivation

In Kubernetes, liveness and readiness probes indicate whether a container is alive and able to serve incoming requests. These are especially helpful for load balancers. However, it is best practice in Kubernetes not to include upstream services in the probes. Otherwise, as soon as, e.g., a Kubernetes deployment's upstream service has issues, the deployment restarts a well, which may cause a cascade of failures in the Kubernetes cluster.

Structure

While blocking traffic from a deployment's container to a upstream service, we explicitly check the HTTP liveness and readiness probes of the Kubernetes deployment. Following best practices, we expect them not to be affected by the unavailable upstream service.

References


Tags
Kubernetes Probes
Third-party
Upstream Service
Recoverability
Kubernetes
GitHub
steadybit/reliability-hub-db/tree/main/templates/kubernetes-probes.liveness-readiness
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)

Block Traffic

Blocks network traffic (incoming and outgoing).

Attack

Attack

Containers

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