You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add support for maxUnavailable in the Spec for Kubernetes 1.35 and up.
* Make PodDisruptionBudget follow the MaxUnavailable changes
* Set the maxUnavailable to 100% of the largest rack
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ Changelog for Cass Operator, new PRs should update the `main / unreleased` secti
11
11
12
12
## unreleased
13
13
14
+
*[FEATURE][#893](https://github.com/k8ssandra/cass-operator/issues/893) Add support for maxUnavailable (Kubernetes 1.35 and up). This allows to make changes to the Cassandra pods in parallel, thus speeding up changes in larger clusters. Allows integer or percentage setting, but will never target more than one rack at a time.
14
15
*[ENHANCEMENT][#888](https://github.com/k8ssandra/cass-operator/issues/888) Add new metrics around all calls to the mgmt-api. This allows to track if some calls are taking longer to execute than expected.
// MaxUnavailable sets the maximum number of rack pods that can be modified simultaneously during an update. This can at most target a single rack, so values higher than rack size will have no effect. Requires Kubernetes 1.35 or higher. Setting percentage will
286
+
// calculate against single rack's percentage of pods, not the entire datacenter.
// ReadOnlyRootFilesystem makes the cassandra container to be run with a read-only root filesystem. This is enabled by default when using OSS Cassandra 4.1.0 and or newer, DSE 6.8 and newer (from datastax/dse-mgmtapi-6_8 repository) or HCD.
285
291
// If serverImage override is used, this setting defaults to false.
Copy file name to clipboardExpand all lines: config/crd/bases/cassandra.datastax.com_cassandradatacenters.yaml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -350,6 +350,14 @@ spec:
350
350
- serverSecretName
351
351
type: object
352
352
type: object
353
+
maxUnavailable:
354
+
anyOf:
355
+
- type: integer
356
+
- type: string
357
+
description: |-
358
+
MaxUnavailable sets the maximum number of rack pods that can be modified simultaneously during an update. This can at most target a single rack, so values higher than rack size will have no effect. Requires Kubernetes 1.35 or higher. Setting percentage will
359
+
calculate against single rack's percentage of pods, not the entire datacenter.
360
+
x-kubernetes-int-or-string: true
353
361
minReadySeconds:
354
362
description: |-
355
363
MinReadySeconds sets the minimum number of seconds for which a newly created pod should be ready without any of its containers crashing, for it to be considered available. Defaults to 5 seconds and is set in the StatefulSet spec.
0 commit comments