Skip to content

Commit

Permalink
Adding kubectl output to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wtripp180901 committed Aug 17, 2023
1 parent f5c1261 commit 10b8e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/k8s-slurmd-create
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 10b8e8e

Please sign in to comment.