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 message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.