Slurm bridge operator is a Kubernetes operator implementation, capable of submitting and monitoring slurm jobs, It acts as a proxy for the external slurm cluster in the k8s cluster
The slurm bridge operator consists of the following five components:
You’ll need a Kubernetes cluster and a Slurm cluster to run against.
- Clone the repo.
git clone https://github.com/chriskery/slurm-bridge-operator
cd slurm-bridge-operator
- Install Slurm Bridge Operator CRDs.
maek install
###Build and push your image to the location specified by `IMG`.
make docker-build docker-push IMG=<some-registry>/slurm-bridge-operator:tag
###Deploy the slurm-bridge-operator to the cluster with the image specified by `IMG`.
make manager IMG=<some-registry>/slurm-bridge-operator:tag
- Build and install slurm agent on the slurm login node as a proxy between kubernetes and slurm cluster. The slurm-agent binary file will be build to bin/slurm-agent
make build
- Install configurator.
kubectl apply -f manifests/configurator.yaml
Please refer to the quick-start.md for more information.
Copyright 2023.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.