multi-cluster-app-dispatcher
moduleThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶

Multi-Cluster App Dispatcher
Themulti-cluster-app-dispatcher is a Kubernetes controller providing mechanisms for applications to manage batch jobs in a single or multi-cluster environment.
Themulti-cluster-app-dispatcher (MCAD) controller is capable of (i) providing an abstraction for wrapping all resources of the job/application and treating them holistically, (ii) queuing job/application creation requests and applying different queuing policies, e.g., First In First Out, Priority, (iii) dispatching the job to one of multiple clusters, where aMCAD queuing agent runs, using configurable dispatch policies, and (iv) auto-scaling pod sets, balancing job demands and cluster availability (future work).
Build Information
Follow thebuild instructions here to build the Multi-Cluster-App-Dispatcher controller.
Deployment Information
Refer todeployment instructions here on how to deploy themulti-cluster-app-dispatcher as a controller in Kubernetes.
Alternatively, for a quick deployment, you can use theeasy-deploy make target to build, push, and deploy your custom image of MCAD on your Kubernetes cluster:
make easy-deploy TAG=<image tag> USERNAME=<quay.io username>Note: Ensure you are logged into your quay.io account on your local machine, and your kubeconfig is pointing to the cluster you want to deploy MCAD on.
Release Process
Run themcad-release.yml action under
Actionsby entering the new release version in theRelease taginput field and clickRun workflow.
Verify thatmcad-release.yml action passed successfully. The workflow will Build and push the image tomcad-controller quay repository with specified release version tag and create GitHub release tag.
Verify a new release is created on theReleases page.
The latest release changes should also reflect in themcad go package module.
Tutorial
Refer to thetutorial on how to usemulti-cluster-app-dispatcher to run batch job in Kubernetes
Overall Architecture

Directories¶
| Path | Synopsis |
|---|---|
cmd | |
kar-controllerscommand | |
pkg | |
client/clientset/versioned/fake This package has the automatically generated fake clientset. | This package has the automatically generated fake clientset. |
client/clientset/versioned/scheme This package contains the scheme of the automatically generated clientset. | This package contains the scheme of the automatically generated clientset. |
client/clientset/versioned/typed/controller/v1beta1 This package has the automatically generated typed clients. | This package has the automatically generated typed clients. |
client/clientset/versioned/typed/controller/v1beta1/fake Package fake has the automatically generated clients. | Package fake has the automatically generated clients. |
client/clientset/versioned/typed/quotasubtree/v1alpha1 This package has the automatically generated typed clients. | This package has the automatically generated typed clients. |
client/clientset/versioned/typed/quotasubtree/v1alpha1/fake Package fake has the automatically generated clients. | Package fake has the automatically generated clients. |
controller/quota ------------------------------------------------------ {COPYRIGHT-TOP} --- Copyright 2019, 2021, 2022, 2023 The Multi-Cluster App Dispatcher Authors. | ------------------------------------------------------ {COPYRIGHT-TOP} --- Copyright 2019, 2021, 2022, 2023 The Multi-Cluster App Dispatcher Authors. |
controller/quota/quotaforestmanager/qm_lib_backend_with_quotasubt_mgr/quotasubtmgr/util ------------------------------------------------------ {COPYRIGHT-TOP} --- Copyright 2019, 2021, 2022, 2023 The Multi-Cluster App Dispatcher Authors. | ------------------------------------------------------ {COPYRIGHT-TOP} --- Copyright 2019, 2021, 2022, 2023 The Multi-Cluster App Dispatcher Authors. |
health ------------------------------------------------------ {COPYRIGHT-TOP} --- Copyright 2022 The Multi-Cluster App Dispatcher Authors. | ------------------------------------------------------ {COPYRIGHT-TOP} --- Copyright 2022 The Multi-Cluster App Dispatcher Authors. |
test | |