Skip to content

Commit

Permalink
Add a spark-operator plugin (derailed#2821)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsalway authored and thorbenbelow committed Nov 10, 2024
1 parent cac9703 commit 280b97f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions plugins/spark-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://github.com/kubeflow/spark-operator
plugins:
toggleScheduledSparkApp:
shortCut: s
confirm: true
dangerous: true
scopes:
- scheduledsparkapp
description: Toggle suspend
command: kubectl
background: true
args:
- patch
- scheduledsparkapp
- $NAME
- -n
- $NAMESPACE
- --context
- $CONTEXT
- -p
- '{"spec": {"suspend": $!COL-SUSPEND}}'
- --type
- merge

0 comments on commit 280b97f

Please sign in to comment.