|
|
@ -4,6 +4,7 @@ Docker image with a script to automatically resize PersistentVolumes in Kubernet |
|
|
|
|
|
|
|
Requires kubectl with a configuration file in ~/.kube/config and df-pv krew plugin. |
|
|
|
|
|
|
|
``` |
|
|
|
Usage: |
|
|
|
./check_full_pvs.sh [-t threshold] [-f]" |
|
|
|
|
|
|
@ -11,3 +12,4 @@ Parameters: |
|
|
|
-t (optional) : Threshold to use for near full PV evaluation (in %). Defaults to 85%. |
|
|
|
-f (optional) : Fix near full PVs (resize them). Defaults to false. |
|
|
|
-i (optional) : Percentage of PV increase when resizing. Defaults to 50%. |
|
|
|
``` |