From 20c40f14fb4dd31168fbc4f08a267947c6734d4c Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen Date: Fri, 24 Sep 2021 10:53:59 -0600 Subject: [PATCH] document k8s-csi-cleaner usage Signed-off-by: Travis Glenn Hansen --- bin/k8s-csi-cleaner | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/k8s-csi-cleaner b/bin/k8s-csi-cleaner index b4459cc..b483fa0 100755 --- a/bin/k8s-csi-cleaner +++ b/bin/k8s-csi-cleaner @@ -2,7 +2,10 @@ /** * The purpose of this script is to prune volumes in the storage system which - * do not have correlating PVs in k8s + * do not have correlating PVs in k8s. + * + * kubectl -n democratic-csi exec -ti --container=csi-driver -- bash + * ./bin/k8s-csi-cleaner * * env vars: * # prevents manual input on a per-volume basis to confirm delete action