k9s/plugins/spark-operator.yaml

24 lines
467 B
YAML

# 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