If the command you want to execute in the pod has any flags in common
(e.g. -i),
# you must use two dashes (--) to separate your command's flags/arguments.
# Also note, do not surround your command and its flags/arguments with
quotes
# unless that is how you would execute it normally (i.e
Hi all ,
I am getting trouble to delete the directory in kubectl exec command i have
tried following command but getting error
kubectl exec -n monitoring prometheus-core-5948ff9f7d-zpkt6 rm -rf
/prometheus/data/snapshots
Error
Error: unknown shorthand flag: 'r' in -rf
--
You received this