mirror of
https://github.com/derailed/k9s.git
synced 2026-10-12 02:12:51 +00:00
* feat: add resize PVC plugin for dynamic storage resizing * chore: update README and plugin YAML to clarify PVC resize inputs
25 lines
459 B
YAML
25 lines
459 B
YAML
plugins:
|
|
resize-pvc:
|
|
shortCut: r
|
|
description: Resize PVC
|
|
scopes:
|
|
- pvc
|
|
command: kubectl
|
|
confirm: true
|
|
dangerous: true
|
|
args:
|
|
- patch
|
|
- pvc
|
|
- $NAME
|
|
- -n
|
|
- $NAMESPACE
|
|
- --context
|
|
- $CONTEXT
|
|
- -p
|
|
- '{"spec":{"resources":{"requests":{"storage":"$INPUT_SIZE"}}}}'
|
|
inputs:
|
|
- name: size
|
|
label: New size (e.g. 10Gi)
|
|
type: string
|
|
required: true
|