Remove the Complete Deployment#
Run this procedure only when intentionally removing the complete deployment. Use the individual service’s uninstall instructions to remove just that service.
Before you begin: Confirm the cluster context and namespace. The examples
use storage-apis; substitute your deployment namespace if different.
Back up any data you need to retain and check the reclaim policies for persistent
volumes before proceeding.
kubectl config current-context
kubectl get all,pvc,secrets --namespace storage-apis
Remove: Deleting the namespace removes its resources, including other services deployed there. Persistent-volume retention depends on the storage configuration.
kubectl delete namespace storage-apis
Verify: Run the following command after deletion completes. A NotFound
response confirms the namespace has been removed.
kubectl get namespace storage-apis