Repository navigation
Proposal: add work pool support for Armada (K8s multi-cluster) batch system #23088
|
Hello, I am working with a team that is supporting applications running on very large (100k+ nodes) configurations, and is interested in using Prefect for running batch workflows. Background: conventional Kubernetes clusters typically can support up to 5000-7000 nodes total. To allow scaling of batch jobs on much larger configurations, the Armada system was developed (https://armadaproject.io and source code at https://github.com/armadaproject/armada) to provide a facility layer on top of vanilla Kubernetes to allow submission and management of jobs that may potentially use hundreds of thousands of nodes. It provides a GRPC-based submission mechanism, an intelligent scheduler, and manager, using Redis, Postgresql, Pulsar, and other components to manage jobs. (There are I have been working on an initial implementation of a new "armada" Work Pool type, heavily based on the existing Observations / Questions:
After I verified basic functionality, I worked on adding Armada to the "Add Work Pool" web UI page (I used AI assistance, as I am not a front-end dev), which went pretty quickly. Those changes are more interleaved with existing code, e.g. in So far, the enhancements are in my repo fork at https://github.com/richscott/prefect within the |
Replies: 1 comment 1 reply
|
Thanks for sharing this! Armada sounds like a great fit for a standalone We’d also be happy to explore making the UI extensible so third-party worker types like this can be visible and configurable without requiring changes to Prefect itself. |
Thanks for sharing this! Armada sounds like a great fit for a standalone
prefect-armadapackage with your Armada worker hosted in it. You’ve already put together a thoughtful implementation, especially the configurable Armada-native job template and the coverage of the job lifecycle.We’d also be happy to explore making the UI extensible so third-party worker types like this can be visible and configurable without requiring changes to Prefect itself.