Skip to content

Sailfish is a HPC Framework that works natively on Kubernetes. This project is an implementation of the Sailfish Framework in RH OpenShift using the RH Supported Operators: AMQ, CustomMetricAutoscaler, OpenShift Serverless and OpenShift Monitoring

License

Notifications You must be signed in to change notification settings

Ortec-Finance/sailfish-hpc

Repository files navigation

Introduction

This is a HPC Framework built by Ortec Finance that works natively on kubernetes.

Sailfish uses two RedHat supported operators to function: an AMQ Broker to capture the jobs and work items, and KEDA, an autoscaler that listens to these queues and matches the amount of containers deployed to process the jobs and work items. This project also uses Knative to submit the initial job to the queue and Prometheus to communicate Queue sizes for KEDA to trigger on.

This enables Sailfish to complete distributed computations on container level, leveraging the Public Cloud providers flexbility on provisioning Virtual Machines.

Videos

Demo with Carbon Aware Scheduling:

Watch the Demo

Demo with Azure Red Hat Openshift:

Watch the Demo

Lightning Talk at Kubernetes HPC Day 2023 Amsterdam:

Watch the Lightning Talk

Demo with Scaling the Message Queue infrastructure to zero

Watch Sailfish Scale to Zero

Getting Started

I want to configure my own!

To get started, head over to docs and read all the Documentation to get started with configuring your Sailfish deployment. After that, you must modify your code base to listen to the AMQ Brokers message queues, to find inspiration on how to do so, checkout the sailfish-examples folder.

I just want a Demo

If you wish to just spin up Sailfish, a python demo app is included in the repository in sailfish-examples/sailfish-py. The k8s/sailfish overlay is already preconfigured to work on the applications in the example.

The demo sailfish-py is stored in DockerHub, the dockerfiles are in the same folder if you wish to rebuild and push the Manager and Worker Images to your image registry! Changes to the image will be picked up immediately with newly created Jobs.

Architecture

High Level Flow

A high level overview of the flow of Sailfish

Multi Cluster Setup with Carbon Aware Scheduling

A high level overview of two clusters with Sailfish, connected using the Multi Cluster Controller

About

Sailfish is a HPC Framework that works natively on Kubernetes. This project is an implementation of the Sailfish Framework in RH OpenShift using the RH Supported Operators: AMQ, CustomMetricAutoscaler, OpenShift Serverless and OpenShift Monitoring

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published