Skip to content

Commit 6096bfa

Browse files
authored
Add a spark-operator plugin (#2821)
1 parent e7ddea6 commit 6096bfa

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

plugins/spark-operator.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://github.com/kubeflow/spark-operator
2+
plugins:
3+
toggleScheduledSparkApp:
4+
shortCut: s
5+
confirm: true
6+
dangerous: true
7+
scopes:
8+
- scheduledsparkapp
9+
description: Toggle suspend
10+
command: kubectl
11+
background: true
12+
args:
13+
- patch
14+
- scheduledsparkapp
15+
- $NAME
16+
- -n
17+
- $NAMESPACE
18+
- --context
19+
- $CONTEXT
20+
- -p
21+
- '{"spec": {"suspend": $!COL-SUSPEND}}'
22+
- --type
23+
- merge

0 commit comments

Comments
 (0)