Skip to main content

Set a Pod Disruption Budget

Say how many instances of an integration must stay up while nodes are being maintained.

How it works​

Maintenance of the cluster (an upgrade, a node replaced) evicts instances. A disruption budget tells the cluster how many instances of this integration must stay available while it does so, so that it never evicts them all at once.

Needs at least two replicas

A budget requiring one available instance on an integration with one replica blocks maintenance of its node.

Prerequisites​

Procedure​

  1. In Runtime Manager, go to Integrations and open the integration.
  2. Choose Add Capability, then Disruption Budget.
  3. Choose a share in Always Available, or leave it Not set and choose one in At Most Stopped.
  4. Choose Apply changes.

Parameters​

FieldWhat it isDefault
Always AvailableminAvailable: the share of instances that must stay up: 25%, 50%, 75% or 100%.Not set
At Most StoppedmaxUnavailable: the share of instances that may be down at once: 25%, 50% or 75%. Shown while Always Available is not set.25%

Behavior and limits​

  • The budget is one of the two: Always Available when it is set, At Most Stopped otherwise.
  • A share is rounded up: 25% of one or four instances lets one stop at a time.
  • With a single instance, requiring one to stay up blocks maintenance: run two.

See also​