Skip to content

Commit 31e0306

Browse files
committed
etcd pdb default minAvailable is 0
1 parent e0fb52d commit 31e0306

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

deploy/cloud/helm/platform/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,16 @@ etcd:
200200
# Node tolerations for etcd pods (allows scheduling on specific nodes)
201201
tolerations: []
202202

203+
# Pod Disruption Budget configuration
204+
# If replicas is 1, then need minAvailable to be 0 to enable node draining
205+
pdb:
206+
# Enable/disable a Pod Disruption Budget creation
207+
create: true
208+
# Minimum number/percentage of pods that should remain scheduled
209+
minAvailable: 0
210+
# Maximum number/percentage of pods that may be made unavailable
211+
maxUnavailable: ""
212+
203213
# NATS configuration - messaging system for operator communication
204214
nats:
205215
# -- Whether to enable NATS deployment, disable if you want to use an external NATS instance. For complete configuration options, see: https://github.com/nats-io/k8s/tree/main/helm/charts/nats , all nats settings should be prefixed with "nats."

0 commit comments

Comments
 (0)