Skip to content

Commit 3878bff

Browse files
dervoetisbernauer
andauthored
chore: Update Druid product version to 31.0.1 and adjust coordinator memory limit (#685)
* chore: Update Druid product version to 31.0.1 and adjust resource limits * docs: don't mark 31.0.1 as experimental * remove 26.0.0 / fix opa integration test * docs: split changelog entry into separate entries * docs: improved changelog entry Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> * fix: adjusted docs to reflect new memory limits * fix: LTS version Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> --------- Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
1 parent 524dc02 commit 3878bff

File tree

11 files changed

+25
-20
lines changed

11 files changed

+25
-20
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ All notable changes to this project will be documented in this file.
1010
 config property `requestedSecretLifetime`. This helps reducing frequent Pod restarts ([#660]).
1111
- Run a `containerdebug` process in the background of each "druid" container to collect debugging information ([#667]).
1212
- Aggregate emitted Kubernetes events on the CustomResources ([#677]).
13+
- Support Apache Druid `31.0.1` and `30.0.1`, remove `26.0.0` ([#685]).
14+
- BREAKING: Adjust default memory limits of coordinator from `512Mi` to `768Mi` and middlemanager from `1Gi` to `1500Mi` ([#685]).
1315

1416
### Changed
1517

@@ -19,6 +21,7 @@ All notable changes to this project will be documented in this file.
1921
[#667]: https://github.com/stackabletech/druid-operator/pull/667
2022
[#676]: https://github.com/stackabletech/druid-operator/pull/676
2123
[#677]: https://github.com/stackabletech/druid-operator/pull/677
24+
[#685]: https://github.com/stackabletech/druid-operator/pull/685
2225

2326
## [24.11.1] - 2025-01-09
2427

docs/modules/druid/examples/getting_started/druid.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: simple-druid
66
spec:
77
image:
8-
productVersion: 30.0.0
8+
productVersion: 31.0.1
99
clusterConfig:
1010
listenerClass: external-stable # This exposes your Stacklet outside of Kubernetes. Remove this configuration if this is not desired
1111
zookeeperConfigMapName: simple-druid-znode

docs/modules/druid/examples/getting_started/druid.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: simple-druid
66
spec:
77
image:
8-
productVersion: 30.0.0
8+
productVersion: 31.0.1
99
clusterConfig:
1010
listenerClass: external-stable # This exposes your Stacklet outside of Kubernetes. Remove this configuration if this is not desired
1111
zookeeperConfigMapName: simple-druid-znode

docs/modules/druid/pages/usage-guide/resources-and-storage.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A minimal HA setup consisting of 2 Pods of each role has the following https://k
1313

1414
* `4700m` CPU request
1515
* `13800m` CPU limit
16-
* `11376m` memory request and limit
16+
* `12144Mi` memory request and limit
1717

1818
Of course, additional services require additional resources.
1919
For Stackable components, see the corresponding documentation on further resource requirements.
@@ -54,15 +54,15 @@ spec:
5454
min: 300m
5555
max: 1200m
5656
memory:
57-
limit: 1Gi
57+
limit: 1500Mi
5858
coordinators:
5959
config:
6060
resources:
6161
cpu:
6262
min: 100m
6363
max: 400m
6464
memory:
65-
limit: 512Mi
65+
limit: 768Mi
6666
----
6767

6868
The operator may configure an additional container for log aggregation.

docs/modules/druid/partials/supported-versions.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
// This is a separate file, since it is used by both the direct Druid documentation, and the overarching
33
// Stackable Platform documentation.
44

5-
- 30.0.0 (LTS)
6-
- 26.0.0 (deprecated)
5+
- 31.0.1
6+
- 30.0.1 (LTS)
7+
- 30.0.0 (deprecated)

examples/psql-s3/psql-s3-druid-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ metadata:
4545
name: psql-s3-druid
4646
spec:
4747
image:
48-
productVersion: 30.0.0
48+
productVersion: 31.0.1
4949
clusterConfig:
5050
deepStorage:
5151
s3:

examples/psql/psql-hdfs-druid-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ metadata:
5656
name: psql-druid
5757
spec:
5858
image:
59-
productVersion: 30.0.0
59+
productVersion: 31.0.1
6060
clusterConfig:
6161
deepStorage:
6262
hdfs:

examples/tls/tls-druid-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ metadata:
7878
name: derby-druid
7979
spec:
8080
image:
81-
productVersion: 30.0.0
81+
productVersion: 31.0.1
8282
clusterConfig:
8383
authentication:
8484
- authenticationClass: druid-mtls-authentication-class

rust/operator-binary/src/crd/resource.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub static MIDDLE_MANAGER_RESOURCES: LazyLock<
180180
max: Some(Quantity("1200m".to_owned())),
181181
},
182182
memory: MemoryLimitsFragment {
183-
limit: Some(Quantity("1Gi".to_owned())),
183+
limit: Some(Quantity("1500Mi".to_owned())),
184184
runtime_limits: NoRuntimeLimitsFragment {},
185185
},
186186
storage: storage::DruidStorageFragment {},
@@ -223,7 +223,7 @@ pub static COORDINATOR_RESOURCES: LazyLock<
223223
max: Some(Quantity("400m".to_owned())),
224224
},
225225
memory: MemoryLimitsFragment {
226-
limit: Some(Quantity("512Mi".to_owned())),
226+
limit: Some(Quantity("768Mi".to_owned())),
227227
runtime_limits: NoRuntimeLimitsFragment {},
228228
},
229229
storage: storage::DruidStorageFragment {},

tests/templates/kuttl/authorizer/02-install-opa.yaml.j2

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ data:
1111

1212
default allow = false
1313

14-
allow if {
15-
input.user == "alice"
14+
allow {
15+
input.authenticationResult.identity == "alice"
1616
}
1717

18-
allow if {
19-
input.user == "admin"
18+
allow {
19+
input.authenticationResult.identity == "admin"
2020
}
2121

22-
allow if {
23-
input.user == "druid_system"
22+
allow {
23+
input.authenticationResult.identity == "druid_system"
2424
}
2525
---
2626
apiVersion: opa.stackable.tech/v1alpha1

tests/test-definition.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
dimensions:
1414
- name: druid
1515
values:
16-
- 26.0.0
1716
- 30.0.0
17+
- 30.0.1
18+
- 31.0.1
1819
# To use a custom image, add a comma and the full name after the product version
1920
# - 30.0.0,oci.stackable.tech/sdp/druid:30.0.0-stackable0.0.0-dev
2021
- name: druid-latest
2122
values:
22-
- 30.0.0
23+
- 31.0.1
2324
# To use a custom image, add a comma and the full name after the product version
2425
# - 30.0.0,oci.stackable.tech/sdp/druid:30.0.0-stackable0.0.0-dev
2526
- name: zookeeper

0 commit comments

Comments
 (0)