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
- An integration, created and bound to an environment.
- Two instances or more. See Size an integration.
Procedure
- In Runtime Manager, go to Integrations and open the integration.
- Choose Add Capability, then Disruption Budget.
- Choose a share in Always Available, or leave it Not set and choose one in At Most Stopped.
- Choose Apply changes.
Parameters
| Field | What it is | Default |
|---|---|---|
| Always Available | minAvailable: the share of instances that must stay up: 25%, 50%, 75% or 100%. | Not set |
| At Most Stopped | maxUnavailable: 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
- Integrations: every setting at a glance
- Choose where an integration runs