Skip to content

Commit e2adcc5

Browse files
authored
🔧 Disable PDB for Valkey with single replica (#1749)
With `primary.replicaCount=1` and `replica.replicaCount=0`, the default Pod Disruption Budget `maxUnavailable=1` prevents proper pod rolling during deployments. Kubernetes cannot safely evict the only available pod, blocking updates. Disable PDB creation for both primary and replica configurations to allow smooth rolling updates in single-pod scenarios.
1 parent 579b9c8 commit e2adcc5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

helm/acapy-cloud/conf/valkey.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ primary:
1414
whenDeleted: Delete
1515
podLabels:
1616
sidecar.istio.io/inject: "false"
17+
pdb:
18+
create: false
1719
replica:
1820
replicaCount: 0
1921
resourcesPreset: nano
@@ -26,3 +28,5 @@ replica:
2628
podLabels:
2729
sidecar.istio.io/inject: "false"
2830
podManagementPolicy: Parallel
31+
pdb:
32+
create: false

0 commit comments

Comments
 (0)