Skip to content

Commit

Permalink
chore: Update Druid product version to 31.0.1 and adjust resource limits
Browse files Browse the repository at this point in the history
  • Loading branch information
dervoeti committed Jan 29, 2025
1 parent 8e5c481 commit 735c50a
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ All notable changes to this project will be documented in this file.
 config property `requestedSecretLifetime`. This helps reducing frequent Pod restarts ([#660]).
- Run a `containerdebug` process in the background of each "druid" container to collect debugging information ([#667]).
- Aggregate emitted Kubernetes events on the CustomResources ([#677]).
- Support Apache Druid `31.0.1` as experimental version and adjust coordinator memory limit ([#685]).

[#660]: https://github.com/stackabletech/druid-operator/pull/660
[#667]: https://github.com/stackabletech/druid-operator/pull/667
[#677]: https://github.com/stackabletech/druid-operator/pull/677
[#685]: https://github.com/stackabletech/druid-operator/pull/685

## [24.11.1] - 2025-01-09

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/druid/examples/getting_started/druid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-druid
spec:
image:
productVersion: 30.0.0
productVersion: 31.0.1
clusterConfig:
listenerClass: external-stable # This exposes your Stacklet outside of Kubernetes. Remove this configuration if this is not desired
zookeeperConfigMapName: simple-druid-znode
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/druid/examples/getting_started/druid.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-druid
spec:
image:
productVersion: 30.0.0
productVersion: 31.0.1
clusterConfig:
listenerClass: external-stable # This exposes your Stacklet outside of Kubernetes. Remove this configuration if this is not desired
zookeeperConfigMapName: simple-druid-znode
Expand Down
1 change: 1 addition & 0 deletions docs/modules/druid/partials/supported-versions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
// This is a separate file, since it is used by both the direct Druid documentation, and the overarching
// Stackable Platform documentation.

- 31.0.1 (experimental)
- 30.0.0 (LTS)
- 26.0.0 (deprecated)
2 changes: 1 addition & 1 deletion examples/psql-s3/psql-s3-druid-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ metadata:
name: psql-s3-druid
spec:
image:
productVersion: 30.0.0
productVersion: 31.0.1
clusterConfig:
deepStorage:
s3:
Expand Down
2 changes: 1 addition & 1 deletion examples/psql/psql-hdfs-druid-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ metadata:
name: psql-druid
spec:
image:
productVersion: 30.0.0
productVersion: 31.0.1
clusterConfig:
deepStorage:
hdfs:
Expand Down
2 changes: 1 addition & 1 deletion examples/tls/tls-druid-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ metadata:
name: derby-druid
spec:
image:
productVersion: 30.0.0
productVersion: 31.0.1
clusterConfig:
authentication:
- authenticationClass: druid-mtls-authentication-class
Expand Down
4 changes: 2 additions & 2 deletions rust/crd/src/resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ pub static MIDDLE_MANAGER_RESOURCES: LazyLock<
max: Some(Quantity("1200m".to_owned())),
},
memory: MemoryLimitsFragment {
limit: Some(Quantity("1Gi".to_owned())),
limit: Some(Quantity("1500Mi".to_owned())),
runtime_limits: NoRuntimeLimitsFragment {},
},
storage: storage::DruidStorageFragment {},
Expand Down Expand Up @@ -221,7 +221,7 @@ pub static COORDINATOR_RESOURCES: LazyLock<
max: Some(Quantity("400m".to_owned())),
},
memory: MemoryLimitsFragment {
limit: Some(Quantity("512Mi".to_owned())),
limit: Some(Quantity("768Mi".to_owned())),
runtime_limits: NoRuntimeLimitsFragment {},
},
storage: storage::DruidStorageFragment {},
Expand Down
6 changes: 3 additions & 3 deletions tests/templates/kuttl/authorizer/02-install-opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ data:

default allow = false

allow {
allow if {
input.user == "alice"
}

allow {
allow if {
input.user == "admin"
}

allow {
allow if {
input.user == "druid_system"
}
---
Expand Down
5 changes: 3 additions & 2 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ dimensions:
values:
- 26.0.0
- 30.0.0
- 31.0.1
# To use a custom image, add a comma and the full name after the product version
# - 28.0.1,docker.stackable.tech/sandbox/druid:28.0.1-stackable0.0.0-dev
- name: druid-latest
values:
- 30.0.0
- 31.0.1
# To use a custom image, add a comma and the full name after the product version
# - 28.0.1,docker.stackable.tech/sandbox/druid:28.0.1-stackable0.0.0-dev
- name: zookeeper
Expand All @@ -30,7 +31,7 @@ dimensions:
- 3.9.2
- name: opa
values:
- 0.66.0
- 1.0.0
- name: hadoop
values:
- 3.4.0
Expand Down

0 comments on commit 735c50a

Please sign in to comment.