Skip to content

Commit

Permalink
feat(pdb) Add unhealthyPodEvictionPolicy config
Browse files Browse the repository at this point in the history
Enable users to configure the `spec.unhealthyPodEvictionPolicy` field of
PodDisruptionBudget generated by the chart. The default is
`IfHealthyBudget`

More information about `unhealthyPodEvictionPolicy` is available at
https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy

Signed-off-by: Gerald Pape <[email protected]>
  • Loading branch information
ubergesundheit committed Feb 3, 2025
1 parent 1903dd5 commit 0dbd246
Show file tree
Hide file tree
Showing 9 changed files with 3,627 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/kong/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## Unreleased

* Add support for custom `unhealthyPodEvictionPolicy` in PodDisruptionBudget
[#1244](https://github.com/Kong/charts/pull/1244)

### Changes

## 2.47.0

### Changes
Expand Down
1 change: 1 addition & 0 deletions charts/kong/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@ On the Gateway release side, set either `admin.tls.client.secretName` to the nam
| podDisruptionBudget.enabled | Enable PodDisruptionBudget for Kong | `false` |
| podDisruptionBudget.maxUnavailable | Represents the minimum number of Pods that can be unavailable (integer or percentage) | `50%` |
| podDisruptionBudget.minAvailable | Represents the number of Pods that must be available (integer or percentage) | |
| podDisruptionBudget.unhealthyPodEvictionPolicy | Controls the criteria when unhealthy Pods should be considered for eviction. Either `AlwaysAllow` or `IfHealthyBudget` | `IfHealthyBudget` |
| podSecurityPolicy.enabled | Enable podSecurityPolicy for Kong | `false` |
| podSecurityPolicy.labels | Labels to add to podSecurityPolicy for Kong | `{}` |
| podSecurityPolicy.annotations | Annotations to add to podSecurityPolicy for Kong | `{}` |
Expand Down
Loading

0 comments on commit 0dbd246

Please sign in to comment.