You must have the previeous requirements in the top-level README.md complete, and have built your slurm-cluster image.
Playbook | Description |
---|---|
deploy-slurm-control-plane.yml | Manages the Slurm control plan in kubernetes |
deploy-slurm-nodes.yml | Manages the physical slurm nodes |
Run the setup.sh script in this directory to generate a new munge.key for your cluster. This will be distributed to all nodes.
./setup.sh
Use the inventory.example in this directory to create your own inventory based on your cluster.
cp ./inventory.example ./inventory
Use the all.example.yml file to create your own all.yml with the requirements for your cluster
cp ./group_vars/all.example.yml ./group_vars/all.yml
Run the ansible playbook to configure the slurm worker nodes.
ansible-playbook -i ./inventory ./deploy-slurm-nodes.yml
Run the ansible playbook to configure the slurm control plane.
ansible-playbook -i ./inventory ./deploy-slurm-control-plane.yml