Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ 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` and `30.0.1`, remove `26.0.0` ([#685]).
- BREAKING: Adjust default memory limits of coordinator from `512Mi` to `768Mi` and middlemanager from `1Gi` to `1500Mi` ([#685]).

### Changed

Expand All @@ -19,6 +21,7 @@ All notable changes to this project will be documented in this file.
[#667]: https://github.com/stackabletech/druid-operator/pull/667
[#676]: https://github.com/stackabletech/druid-operator/pull/676
[#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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A minimal HA setup consisting of 2 Pods of each role has the following https://k

* `4700m` CPU request
* `13800m` CPU limit
* `11376m` memory request and limit
* `12144Mi` memory request and limit

Of course, additional services require additional resources.
For Stackable components, see the corresponding documentation on further resource requirements.
Expand Down Expand Up @@ -54,15 +54,15 @@ spec:
min: 300m
max: 1200m
memory:
limit: 1Gi
limit: 1500Mi
coordinators:
config:
resources:
cpu:
min: 100m
max: 400m
memory:
limit: 512Mi
limit: 768Mi
----

The operator may configure an additional container for log aggregation.
Expand Down
5 changes: 3 additions & 2 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.

- 30.0.0 (LTS)
- 26.0.0 (deprecated)
- 31.0.1
- 30.0.1 (LTS)
- 30.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/operator-binary/src/crd/resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,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 @@ -223,7 +223,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
12 changes: 6 additions & 6 deletions tests/templates/kuttl/authorizer/02-install-opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ data:

default allow = false

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

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

allow if {
input.user == "druid_system"
allow {
input.authenticationResult.identity == "druid_system"
}
---
apiVersion: opa.stackable.tech/v1alpha1
Expand Down
5 changes: 3 additions & 2 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
dimensions:
- name: druid
values:
- 26.0.0
- 30.0.0
- 30.0.1
- 31.0.1
# To use a custom image, add a comma and the full name after the product version
# - 30.0.0,oci.stackable.tech/sdp/druid:30.0.0-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
# - 30.0.0,oci.stackable.tech/sdp/druid:30.0.0-stackable0.0.0-dev
- name: zookeeper
Expand Down