Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit 0eb2dc7

Browse files
committed
chore: bump rust version in stackable base image
1 parent ce3472f commit 0eb2dc7

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- Run a `containerdebug` process in the background of each Hello container to collect debugging information ([#144]).
10+
11+
[#144]: https://github.com/stackabletech/hello-world-operator/pull/144
12+
713
## [24.11.0] - 2024-11-18
814

915
### Added

rust/operator-binary/src/controller.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ fn build_server_rolegroup_statefulset(
631631
COMMON_BASH_TRAP_FUNCTIONS.to_string(),
632632
remove_vector_shutdown_file_command(STACKABLE_LOG_DIR),
633633
"prepare_signal_handlers".to_string(),
634+
format!("CONTAINERDEBUG_LOG_DIRECTORY={STACKABLE_LOG_DIR}/containerdebug containerdebug --output={STACKABLE_LOG_DIR}/containerdebug-state.json --loop &"),
634635
// run process
635636
format!("java -Djava.security.properties={STACKABLE_CONFIG_DIR}/{JVM_SECURITY_PROPERTIES} -jar hello-world.jar &"),
636637
// graceful shutdown part

tests/templates/kuttl/smoke/10-assert.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ status:
3232
expectedPods: 1
3333
currentHealthy: 1
3434
disruptionsAllowed: 1
35+
---
36+
# This test checks if the containerdebug-state.json file is present and valid
37+
apiVersion: kuttl.dev/v1beta1
38+
kind: TestAssert
39+
timeout: 60
40+
commands:
41+
- script: kubectl exec -n $NAMESPACE hello-world-server-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status

0 commit comments

Comments
 (0)