File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 3
3
## [ master] ( https://github.com/arangodb/kube-arangodb/tree/master ) (N/A)
4
4
- (Feature) (Platform) Storage Debug
5
5
- (Feature) Extend DebugPackage with Debug files
6
+ - (Documentation) Shutdown Debug Feature
6
7
7
8
## [ 1.2.50] ( https://github.com/arangodb/kube-arangodb/tree/1.2.50 ) (2025-07-04)
8
9
- (Feature) (Platform) MetaV1 Integration Service
Original file line number Diff line number Diff line change @@ -36,10 +36,23 @@ Pod will receive shutdown request on port `port1` if containers `app` and `app2`
36
36
37
37
# ## DebugPackage PreShutdown Hook
38
38
39
- Example :
39
+ The PreShutdown hook copies all non-empty files from the debug-package-mount volume when the main container exits.
40
+
41
+ How to enable :
40
42
41
43
` ` ` yaml
42
44
metadata:
43
45
labels:
44
- core.shutdown.arangodb.com/app: "wait"
45
- ` ` `
46
+ shutdown.integration.profiles.arangodb.com/debug: enabled
47
+ ` ` `
48
+
49
+ This creates a Pod volume named debug-package-mount, which can be mounted to any container (including InitContainers) via the volumeMounts directive.
50
+
51
+ ` ` ` yaml
52
+ spec:
53
+ containers:
54
+ - name: XXX
55
+ volumeMounts:
56
+ - mountPath: /debug
57
+ name: debug-package-mount
58
+ ` ` `
You can’t perform that action at this time.
0 commit comments