From 10b8e8e94dd5e4ecca3ffdd7bdb4f187ea5cacb3 Mon Sep 17 00:00:00 2001 From: Will Date: Thu, 17 Aug 2023 10:08:17 +0100 Subject: [PATCH] Adding kubectl output to logs --- image/k8s-slurmd-create | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/k8s-slurmd-create b/image/k8s-slurmd-create index cf0c9a5..63dfc7b 100644 --- a/image/k8s-slurmd-create +++ b/image/k8s-slurmd-create @@ -10,6 +10,6 @@ echo "Powering up hosts: $hosts" >> /var/log/slurm/power_save.log for host in $hosts do echo "Creating $host" >> /var/log/slurm/power_save.log - sed s/SLURMD_NODENAME/$host/ /etc/slurm/slurmd-pod-template.yml | kubectl create -f - + sed s/SLURMD_NODENAME/$host/ /etc/slurm/slurmd-pod-template.yml | kubectl create -f - >> /var/log/slurm/power_save.log echo "done" >> /var/log/slurm/power_save.log done