File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
77### Added
88
99- Added NodeSet level authcred configuration.
10+ - Added topology.yaml to config files
1011
1112### Fixed
1213
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ INTERVAL=30
1313INIT_RECONFIGURE=false
1414
1515function reconfigure() {
16- local rsync_cmd=' rsync -vaLrzPci --delete --include="*.conf" --include="prolog-*" --include="epilog-*" --exclude="*" "${SLURM_MOUNT}/" "${SLURM_DIR}"'
16+ local rsync_cmd=' rsync -vaLrzPci --delete --include="*.conf" --include="*.yaml" --include=" prolog-*" --include="epilog-*" --exclude="*" "${SLURM_MOUNT}/" "${SLURM_DIR}"'
1717
1818 if [ -z " $( eval " $rsync_cmd --dry-run | grep '\./'" ) " ] && $INIT_RECONFIGURE ; then
1919 return
@@ -23,6 +23,8 @@ function reconfigure() {
2323 eval " $rsync_cmd "
2424 find " ${SLURM_DIR} " -type f -name " *.conf" -print0 | xargs -0r chown -v " ${SLURM_USER} :${SLURM_USER} "
2525 find " ${SLURM_DIR} " -type f -name " *.conf" -print0 | xargs -0r chmod -v 644
26+ find " ${SLURM_DIR} " -type f -name " *.yaml" -print0 | xargs -0r chown -v " ${SLURM_USER} :${SLURM_USER} "
27+ find " ${SLURM_DIR} " -type f -name " *.yaml" -print0 | xargs -0r chmod -v 644
2628 find " ${SLURM_DIR} " -type f -regextype posix-extended -regex " ^.*/(pro|epi)log-.*$" -print0 | xargs -0r chown -v " ${SLURM_USER} :${SLURM_USER} "
2729 find " ${SLURM_DIR} " -type f -regextype posix-extended -regex " ^.*/(pro|epi)log-.*$" -print0 | xargs -0r chmod -v 755
2830
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ SPDX-License-Identifier: Apache-2.0
55
66{{- $nodesetList := list "ALL" -}}
77{{- $failList := list "slurm.conf" "slurmdbd.conf" -}}
8- {{- $allowList := list "acct_gather.conf" "burst_buffer.conf" "cgroup.conf" "gres.conf" "helpers.conf" "job_container.conf" "mpi.conf" "oci.conf" "plugstack.conf" "topology.conf" -}}
8+ {{- $allowList := list "acct_gather.conf" "burst_buffer.conf" "cgroup.conf" "gres.conf" "helpers.conf" "job_container.conf" "mpi.conf" "oci.conf" "plugstack.conf" "topology.conf" "topology.yaml" -}}
99{{- $partitionList := list -}}
1010apiVersion : v1
1111kind : ConfigMap
Original file line number Diff line number Diff line change @@ -137,6 +137,8 @@ slurm:
137137 # # Ref: https://slurm.schedmd.com/plugstack.conf.html
138138 # topology.conf: |
139139 # # Ref: https://slurm.schedmd.com/topology.conf.html
140+ # topology.yaml: |
141+ # # Ref: https://slurm.schedmd.com/topology.yaml.html
140142 #
141143 # -- (map[string]string)
142144 # The Prolog scripts for compute nodesets, as a map.
You can’t perform that action at this time.
0 commit comments