Slurm on Kubernetes provides the following features:
if you wanna change slurm configuration ,please check slurm configuration generator, check link
helm repo add ay-helm-mirror https://aaronyang0628.github.io/helm-chart-mirror/charts
helm install slurm ay-helm-mirror/chart -f charts/values.yaml --version 1.0.7
helm repo add ay-helm-mirror https://aaronyang0628.github.io/helm-chart-mirror/charts
helm install slurm ay-helm-mirror/chart -f charts/values.yaml --version 1.0.7
Or you can get template values.yaml from link
podman pull ghcr.io/aaronyang0628/slurm-operator:25.05
kubectl apply -f https://raw.githubusercontent.com/AaronYang0628/helm-chart-mirror/refs/heads/main/templates/slurm/operator_install.yaml
kubectl apply -f https://raw.githubusercontent.com/AaronYang0628/helm-chart-mirror/refs/heads/main/templates/slurm/slurmdeployment.values.yaml
kubectl get slurmdep slurmdeployment-sample
kubectl -n slurm get pods -w
When everything is ready, you can login your cluster and submit jobs.
you can edit `auth.ssh.configmap.perfabPubKeys` the file chart/values.yaml to add your public keys
Or you can edit `spec.values.auth.ssh.configmap.perfabPubKeys` in your slurmdeployment CRD
kubectl -n slurm exec -it deploy/slurm-login -c login -- bin/bash
Or
ssh root@slurm-login.svc.cluster.local