Skip to content

Add supported disruption types field to disruption budgets#77

Merged
hamza-boudouche merged 1 commit intocriteo:mainfrom
hamza-boudouche:main
Feb 13, 2026
Merged

Add supported disruption types field to disruption budgets#77
hamza-boudouche merged 1 commit intocriteo:mainfrom
hamza-boudouche:main

Conversation

@hamza-boudouche
Copy link
Contributor

The Application and Node Disruption Budget CRDs now have a new field .spec.supportedDisruptionTypes that indicates whether the budget should be considered when reconciling a NodeDisruption of a certain type.

The idea behind this is that for certain special types of disruptions, some budgets might not be impacted by them, and so the budget chooses to not support that type of disruption. The NodeDisruption reconciler will then only consider budgets supporting the type of the NodeDisruption it is currently reconciling.

The new field .spec.supportedDisruptionTypes can have a default value that is set via a new cli flag --default-node-disruption-types. For existing installations, set the value of --default-node-disruption-types to the same value previously used for --node-disruption-types. The function of --node-disruption-types remains unchanged.

The Application and Node Disruption Budget CRDs now have a new field
`.spec.supportedDisruptionTypes` that indicated whether the budget
should be considered when reconciling a NodeDisruption of a certain
type.

The idea behind this is that for certain special types of disruptions,
some budgets might not be impacted by them, and so the budget chooses to
not support that type of disruption. The NodeDisruption reconciler will
then only consider budgets supporting the type of the NodeDisruption it
is currently reconciling.

The new field `.spec.supportedDisruptionTypes` can have a default value
that is set via a new cli flag `--default-node-disruption-types`. For
existing installations, set the value of `--default-node-disruption-types`
to the same value previously used for `--node-disruption-types`. The
function of `--node-disruption-types` remains unchanged.
@hamza-boudouche hamza-boudouche merged commit a82f007 into criteo:main Feb 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants