Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Drain Node

Attack

Attack

Drains a node
Install now

Drain Node

Drains a node
Attack

Attack

Install now

Drain Node

Attack

Attack

Drains a node
Install now

Drain Node

Drains a node
Attack

Attack

Install now
Go back to list
Experiment EditorExperiment Editor

Introduction

Use the attack to drain one or multiple nodes. The nodes are drained via kubectl drain.

Some details:

  • Steadybit agents and extensions are excluded from the drain
  • kubectl parameter force is used to continue even if there are pods that do not declare a controller
  • kubectl parameter ignore-daemonsets is used to ignore daemonsets
  • kubectl parameter delete-emptydir-data is used to delete local data of pods using emptyDir

Use Cases

  • Check your application failover when a node is drained
  • Check if new nodes are created by your autoscaler (in combination with node count check)

Parameters

ParameterDescriptionDefault
DurationHow long should the node keep drained / cordoned?180s

Rollback

A drained node will be automatically uncorden after the given duration or in case of an error to rollback the effect.

Statistics
-Stars
Tags
Kubernetes
Homepage
hub.steadybit.com/extension/com.steadybit.extension_kubernetes
License
MIT
MaintainerSteadybit

Useful Recipes

See all
Drained nodes results in quickly rescheduling pods

When draining a node, Kubernetes should reschedule the pods on other nodes to achieve elasticity.

Tags:
Kubernetes
Elasticity
Targets:

Kubernetes deployments

Kubernetes nodes

Kubernetes cluster

More Kubernetes Node Actions

See all
Taint node

Taint a node

Attack

Attack

Kubernetes nodes


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