ceph: enable pod disruption budgets by default
The PDBs have been stabilizing for a good length of time now since they were created in v1.1, and later redesigned in v1.5. The time has come to enable the feature by default so everyone can enjoy the stable Rook storage even while draining K8s nodes. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
7 files changed
+10
-3
No files matched your search
@@ -18,3 +18,4 @@ v1.6...
|
||||
|
||||
* CephClient CRD has been converted to use the controller-runtime library
|
||||
* Extending the support of vault KMS configuration for Ceph RGW
|
||||
* Enable disruption budgets (PDBs) by default for Mon, RGW, MDS, and OSD daemons
|
||||
@@ -166,7 +166,7 @@ spec:
|
||||
# cpu: "200m"
|
||||
# memory: "200Mi"
|
||||
disruptionManagement:
|
||||
managePodBudgets: false
|
||||
managePodBudgets: true
|
||||
osdMaintenanceTimeout: 30
|
||||
pgHealthCheckTimeout: 0
|
||||
manageMachineDisruptionBudgets: false
|
||||
|
||||
@@ -68,3 +68,5 @@ spec:
|
||||
values:
|
||||
- b
|
||||
- c
|
||||
disruptionManagement:
|
||||
managePodBudgets: true
|
||||
@@ -44,3 +44,5 @@ spec:
|
||||
mon:
|
||||
interval: 45s
|
||||
timeout: 600s
|
||||
disruptionManagement:
|
||||
managePodBudgets: true
|
||||
@@ -99,3 +99,5 @@ spec:
|
||||
# tolerations:
|
||||
# - key: storage-node
|
||||
# operator: Exists
|
||||
disruptionManagement:
|
||||
managePodBudgets: true
|
||||
@@ -221,7 +221,7 @@ spec:
|
||||
# If true, the operator will create and manage PodDisruptionBudgets for OSD, Mon, RGW, and MDS daemons. OSD PDBs are managed dynamically
|
||||
# via the strategy outlined in the [design](https://github.com/rook/rook/blob/master/design/ceph/ceph-managed-disruptionbudgets.md). The operator will
|
||||
# block eviction of OSDs by default and unblock them safely when drains are detected.
|
||||
managePodBudgets: false
|
||||
managePodBudgets: true
|
||||
# A duration in minutes that determines how long an entire failureDomain like `region/zone/host` will be held in `noout` (in addition to the
|
||||
# default DOWN/OUT interval) when it is draining. This is only relevant when `managePodBudgets` is `true`. The default value is `30` minutes.
|
||||
osdMaintenanceTimeout: 30
|
||||
|
||||
@@ -3472,7 +3472,7 @@ spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
disruptionManagement:
|
||||
managePodBudgets: false
|
||||
managePodBudgets: true
|
||||
osdMaintenanceTimeout: 30
|
||||
pgHealthCheckTimeout: 0
|
||||
manageMachineDisruptionBudgets: false
|
||||
|
||||
Reference in new issue
Block a user