Skip to content

Commit 3102d7f

Browse files
authored
Merge pull request #298 from jgehrcke/jp/emit-node-config
Log IMEX nodes_config.cfg at daemon startup for debuggability
2 parents 085c179 + dae32c0 commit 3102d7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/compute-domain-daemon.tmpl.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
apiVersion: apps/v1
3-
kind: Daemonset
3+
kind: DaemonSet
44
metadata:
55
namespace: {{ .Namespace }}
66
generateName: {{ .GenerateName }}
@@ -36,6 +36,8 @@ spec:
3636
touch /etc/nvidia-imex-null
3737
tail -f /dev/null & wait
3838
fi
39+
# Emit nodes config for facilitating debug.
40+
echo -e "/etc/nvidia-imex/nodes_config.cfg:\n\n" && cat /etc/nvidia-imex/nodes_config.cfg
3941
/usr/bin/nvidia-imex -c /etc/nvidia-imex/config.cfg
4042
tail -n +1 -f /var/log/nvidia-imex.log & wait
4143
resources:

0 commit comments

Comments
 (0)