From 6096bfa0f994d668d571e6e2b91ab51efc9b0ffc Mon Sep 17 00:00:00 2001 From: Jacob Salway Date: Fri, 16 Aug 2024 09:10:47 +1000 Subject: [PATCH] Add a spark-operator plugin (#2821) --- plugins/spark-operator.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/spark-operator.yaml diff --git a/plugins/spark-operator.yaml b/plugins/spark-operator.yaml new file mode 100644 index 00000000..17758f42 --- /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