Subsections of HPC

Slurm On K8S

slurm_on_k8s slurm_on_k8s

Trying to run slurm cluster on kubernets

Install

You can directly use helm to manage this slurm chart

  1. helm repo add ay-helm-mirror https://aaronyang0628.github.io/helm-chart-mirror/charts
  2. helm install slurm ay-helm-mirror/slurm --version 1.0.4

And then, you should see something like this func1 func1

Also, you can modify the values.yaml by yourself, and reinstall the slurm cluster

helm upgrade --create-namespace -n slurm --install -f ./values.yaml slurm ay-helm-mirror/slurm --version=1.0.4
Important

And you even can build your own image, especially for people wanna use their own libs. For now, the image we used is

login –> docker.io/aaron666/slurm-login:intel-mpi

slurmd –> docker.io/aaron666/slurm-slurmd:intel-mpi

slurmctld -> docker.io/aaron666/slurm-slurmctld:latest

slurmdbd –> docker.io/aaron666/slurm-slurmdbd:latest

munged –> docker.io/aaron666/slurm-munged:latest

Slurm Operator

if you wanna change slurm configuration ,please check slurm configuration generator click

  • for helm user

    just run for fun!

    1. helm repo add ay-helm-repo https://aaronyang0628.github.io/helm-chart-mirror/charts
    2. helm install slurm ay-helm-repo/slurm --version 1.0.4
  • for opertaor user

    pull an image and apply

    1. docker pull aaron666/slurm-operator:latest
    2. kubectl apply -f https://raw.githubusercontent.com/AaronYang0628/helm-chart-mirror/refs/heads/main/templates/slurm/install.yaml
    3. kubectl apply -f https://raw.githubusercontent.com/AaronYang0628/helm-chart-mirror/refs/heads/main/templates/slurm/slurmdeployment.values.yaml