Skip to content

Commit

Permalink
feat: Support configuring JVM arguments (#636)
Browse files Browse the repository at this point in the history
* refactor

* Rename

* Fix error handling

* Add (failing test) -> TDD :)

* Actually merge stuff

* changelog

* Add some docs

* changelog

* clippy

* Update CHANGELOG.md

Co-authored-by: Malte Sander <[email protected]>

* Update rust/operator-binary/src/config/jvm.rs

Co-authored-by: Malte Sander <[email protected]>

* constants. constants everywhere.

---------

Co-authored-by: Malte Sander <[email protected]>
  • Loading branch information
sbernauer and maltesander authored Jan 29, 2025
1 parent f1f4935 commit 7b9a2a4
Show file tree
Hide file tree
Showing 10 changed files with 529 additions and 102 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@ All notable changes to this project will be documented in this file.
- The lifetime of auto generated TLS certificates is now configurable with the role and roleGroup
config property `requestedSecretLifetime`. This helps reducing frequent Pod restarts ([#619]).
- Run a `containerdebug` process in the background of each HDFS container to collect debugging information ([#629]).
- Support configuring JVM arguments ([#636]).
- Aggregate emitted Kubernetes events on the CustomResources ([#643]).

### Changed

- Switch the WebUI liveness probe from `httpGet` to checking the tcp socket.
This helps with setups where configOverrides are used to enable security on the HTTP interfaces.
As this results in `401` HTTP responses (instead of `200`), this previously failed the liveness checks.
- Set the JVM argument `-Xms` in addition to `-Xmx` (with the same value). This ensure consistent JVM configs across our products ([#636]).

[#619]: https://github.com/stackabletech/hdfs-operator/pull/619
[#629]: https://github.com/stackabletech/hdfs-operator/pull/629
[#636]: https://github.com/stackabletech/hdfs-operator/pull/636
[#643]: https://github.com/stackabletech/hdfs-operator/pull/643

## [24.11.1] - 2025-01-10
Expand Down
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 14 additions & 10 deletions Cargo.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7b9a2a4

Please sign in to comment.