Skip to content

Commit

Permalink
Add kubectl kjob plugin. (#4344)
Browse files Browse the repository at this point in the history
* Added kubectl kjob plugin.

* Update plugins/kjob.yaml

Co-authored-by: Ahmet Alp Balkan <[email protected]>

* Update plugins/kjob.yaml

Co-authored-by: Ahmet Alp Balkan <[email protected]>

* Review remarks.

---------

Co-authored-by: Ahmet Alp Balkan <[email protected]>
  • Loading branch information
mbobrovskyi and ahmetb authored Jan 16, 2025
1 parent 5bd0823 commit 6ba6d73
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions plugins/kjob.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: kjob
spec:
version: v0.1.0
shortDescription: Run AI/ML jobs based on the pre-defined templates
homepage: https://github.com/kubernetes-sigs/kjob/
description: |
This kubectl plugin allows ML researchers to run templated Jobs with different values
for the application-specific parameters, without the need to edit and submit entire
YAML files. The tool comes with built-in support for running slurm scripts inside
a Kubernetes cluster.
platforms:
- selector:
matchLabels:
os: "linux"
arch: "amd64"
uri: https://github.com/kubernetes-sigs/kjob/releases/download/v0.1.0/kubectl-kjob-linux-amd64.tar.gz
sha256: 34fd7e04cacfd49dd361453819ab460101ddef98f94b5fb4a76430ccb1e3a92a
bin: "kubectl-kjob"
- selector:
matchLabels:
os: "linux"
arch: "arm64"
uri: https://github.com/kubernetes-sigs/kjob/releases/download/v0.1.0/kubectl-kjob-linux-arm64.tar.gz
sha256: 4c1d09bcd522c7ef144770dbd5381d4ca70d1019783348efa8df80950a9e84dc
bin: "kubectl-kjob"
- selector:
matchLabels:
os: "darwin"
arch: "amd64"
uri: https://github.com/kubernetes-sigs/kjob/releases/download/v0.1.0/kubectl-kjob-darwin-amd64.tar.gz
sha256: f66681eb410d8df04cb413a442b6e3db9c3090cb02375cf83aca6e453cd90d1d
bin: "kubectl-kjob"
- selector:
matchLabels:
os: "darwin"
arch: "arm64"
uri: https://github.com/kubernetes-sigs/kjob/releases/download/v0.1.0/kubectl-kjob-darwin-arm64.tar.gz
sha256: 64c320d7f7a1d61f894357351726223269cfa5bb60996e19dbb29c4ad01a7768
bin: "kubectl-kjob"

0 comments on commit 6ba6d73

Please sign in to comment.