Question

Deleting PV created by stateful set

Posted July 19, 2019 275 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

Submit an Answer