diff --git a/plugins/spark-operator.yaml b/plugins/spark-operator.yaml new file mode 100644 index 0000000000..17758f42c4 --- /dev/null +++ b/plugins/spark-operator.yaml @@ -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