Chart: Implement unhealthyPodEvictionPolicy. (#11992)
This commit is contained in:
parent
43a7d8d5fe
commit
17209eb3a9
6 changed files with 41 additions and 0 deletions
|
|
@ -63,3 +63,17 @@ tests:
|
|||
- equal:
|
||||
path: spec.maxUnavailable
|
||||
value: 1
|
||||
|
||||
- it: should create a PodDisruptionBudget with `unhealthyPodEvictionPolicy` if `defaultBackend.unhealthyPodEvictionPolicy` is set
|
||||
set:
|
||||
defaultBackend.enabled: true
|
||||
defaultBackend.replicaCount: 2
|
||||
defaultBackend.unhealthyPodEvictionPolicy: IfHealthyBudget
|
||||
asserts:
|
||||
- hasDocuments:
|
||||
count: 1
|
||||
- isKind:
|
||||
of: PodDisruptionBudget
|
||||
- equal:
|
||||
path: spec.unhealthyPodEvictionPolicy
|
||||
value: IfHealthyBudget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue