mirror of
https://github.com/derailed/k9s.git
synced 2026-10-28 10:45:13 +08:00
* 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>
29 lines
650 B
YAML
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"
|