Files
Jorge Alberto Díaz Orozco (Akiel)andFernand Galiana 8807dc0ef8 Add plugin to temporarily scale down/up all deployments, statefulsets, and daemonsets in a namespace using szero (#3259)
* Add plugin to temporarily scale down/up all deployments, statefulsets, and daemonsets in a namespace using szero

* Add szero to documentation readme

---------

Co-authored-by: Fernand Galiana <fernand.galiana@gmail.com>
2025-04-16 08:19:24 -06:00

29 lines
650 B
YAML

# Temporarily scale down/up all deployments, statefulsets, and daemonsets in a namespace using szero
# Uses https://github.com/jadolg/szero
plugins:
szero-down:
shortCut: Shift-D
confirm: true
dangerous: true
description: Scale all down
scopes:
- namespace
command: sh
background: false
args:
- -c
- "szero down --context $CONTEXT --namespace $NAME"
szero-up:
shortCut: Shift-U
confirm: true
dangerous: true
description: Scale all up
scopes:
- namespace
command: sh
background: false
args:
- -c
- "szero up --context $CONTEXT --namespace $NAME"