Skip to content
lorebow

Step 9 of 9, about 1 min

Clean up

Remove Redis and, once you are sure, its data.

#Remove Redis

Uninstall what you installed. With Cluster the release is redis-cluster; with YAML, use kubectl delete -f with the file you applied.

bash
helm -n redis uninstall redis

#Delete its data

Uninstalling leaves the claims, and the data on them, behind on purpose. Delete them, and the namespace, when you are sure:

bash
kubectl -n redis delete pvc --all
kubectl delete namespace redis

With the "By hand" storage option the PersistentVolumes are Retain, so they stay Released until you delete them and clear the folders on each node.