blob: 42c2d3295cf6ab85558346aecea60539d72c71fc [file] [log] [blame]
= Pdb Trait
// Start of autogenerated code - DO NOT EDIT! (description)
The PDB trait allows to configure the PodDisruptionBudget resource for the Integration pods.
This trait is available in the following profiles: **Kubernetes, Knative, OpenShift**.
// End of autogenerated code - DO NOT EDIT! (description)
// Start of autogenerated code - DO NOT EDIT! (configuration)
== Configuration
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait pdb.[key]=[value] --trait pdb.[key2]=[value2] integration.groovy
----
The following configuration options are available:
[cols="2m,1m,5a"]
|===
|Property | Type | Description
| pdb.enabled
| bool
| Can be used to enable or disable a trait. All traits share this common property.
| pdb.min-available
| string
| The number of pods for the Integration that must still be available after an eviction.
It can be either an absolute number or a percentage.
Only one of `min-available` and `max-unavailable` can be specified.
| pdb.max-unavailable
| string
| The number of pods for the Integration that can be unavailable after an eviction.
It can be either an absolute number or a percentage (default `1` if `min-available` is also not set).
Only one of `max-unavailable` and `min-available` can be specified.
|===
// End of autogenerated code - DO NOT EDIT! (configuration)