Giter Site home page Giter Site logo

slurmnetes's Introduction

Slurmnetes

A project to apply a traditional implementation of Slurm on Kubernetes (with some magic)

This project is a decent template and starting path to run HPC clusters on Kubernetes.

While the focus of this is towards starting and testing locally, the Kubernetes files and the Docker containers can be deployed in a real cluster.

Dependencies

  • minikube (local)
  • kubectl
  • helm

Zero to Submitting a job (locally)

  • git clone https://github.com/jeefy/slurmnetes
  • cd slurmnetes && ./bin/start.sh -- For OSX, Minikube auto-mounts /Users/* other OSs may vary. Where you put the repo needs to be accessible to minikube (pwd on host = pwd in minikube)
  • Grab coffee / wait.
  • kubectl get pods -- Look for slurmctld-xxxxxxxxx-xxxxxx, copy that string
  • kubectl exec -ti slurmctld-xxxxxxxxx-xxxxxx bash
  • sinfo or srun or sbatch at your leisure
  • For ssh, run minikube service sshd, note the IP:Port that pops up
  • Then run ssh root@[IP] -p[PORT] with a password of root (SSH is POC for now)

Scaling

Currently scaling is done by updating slurmd-deployment.yaml and running kubectl apply -f infrastructure/slurmd-deployment.yaml

Logging and metrics

minikube service grafana-logging -n kube-system

minikube service kibana-logging -n kube-system

Roadmap (No particular order)

  • Scratch
  • Interface with Consul for Healthchecks
  • sshd on the slurmctld container
  • Scale slurmctld container?
  • User accounts / IDM
  • Home directories / Mounts

slurmnetes's People

Stargazers

Andrew avatar llgoo avatar Zhong Chen avatar Long avatar Andrew Morgan avatar Matej avatar Greg Brener avatar  avatar Ricardo Silva avatar Aubort Jean-Baptiste avatar ruibinzhang avatar Walid Shaari CNJ avatar

Watchers

James Cloos avatar Jeffrey Sica avatar Walid Shaari CNJ avatar Matej avatar Long avatar  avatar

slurmnetes's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.