Uninstalling Kubernetes cluster

A Kubernetes cluster can be uninstalled by deleting/uninstalling the ;files the files in the reverse order of their creation. To do so, use these commands.
kubectl delete -f <file name> <cc-statefulset-volumeclaim.yaml>
kubectl delete -f <file name> cc-pvc-volume.yaml
kubectl delete -f <file name> cc-pv-volume.yaml
kubectl delete -f <file name> cc-service.yaml