-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(doc): Generate PDB trait documentation
- Loading branch information
1 parent
7e71966
commit d8adb7d
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
= 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: | ||
``` | ||
kamel run --trait pdb.[key]=[value] --trait pdb.[key2]=[value2] integration.groovy | ||
``` | ||
The following configuration options are available: | ||
|
||
[cols="2,1,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) |