Deleting PV created by stateful set

July 19, 2019 116 views
Kubernetes

Hi once we are done using the EFK following this document. How would one delete the PV created

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-elasticsearch-fluentd-and-kibana-efk-logging-stack-on-kubernetes

Thanks

1 Answer

Hi there!

You can delete the pv using the kubectl delete command.

kubectl get pv
kubectl delete pv <pv_name>

Regards,

John Kwiatkoski
Senior Developer Support Engineer

Have another answer? Share your knowledge.