Uninstall & Cleanup
Overview
This guide provides instructions for completely removing Observo Manager and its associated resources from your Kubernetes cluster. Follow these steps carefully to ensure proper cleanup and removal of all components.
Pre-cleanup Steps
1. Identify Resources
# List all resources in namespace
kubectl get all -n observo
# List persistent volumes
kubectl get pvc -n observo
2. Backup Important Data
Before proceeding, backup any important data:
# Backup configurations
helm get values observo-manager -n observo > values-backup.yaml
# Backup secrets
kubectl get secret postgres-auth -n observo -o yaml > postgres-auth-backup.yamlUninstallation Steps
1. Remove Helm Release
helm uninstall observo-manager -n observo2. Delete Persistent Volume Claims
# List PVCs
kubectl get pvc -n observo
# Delete specific PVCs
kubectl delete pvc -n observo --all3. Remove the Namespace
kubectl delete namespace observoAdditional Cleanup
1. Storage Cleanup
Remove any external volumes
Remove temporary files
2. Registry Cleanup
Remove Observo Manager container images
3. Database Cleanup
If using external database:
Archive or remove database used for observo
Verification
# Check for remaining resources
kubectl get all -n observo
# Verify PV cleanup
kubectl get pv | grep observoTroubleshooting
Stuck Namespace
If namespace remains stuck in Terminating state:
Save namespace in JSON format:
kubectl get namespace observo -o json > observo-ns.jsonEdit
observo-ns.jsonand remove finalizersUpdate namespace:
kubectl replace --raw "/api/v1/namespaces/observo/finalize" -f observo-ns.json
Stuck Resources
For resources stuck in deletion:
kubectl patch <resource-type> <resource-name> -n observo \
-p '{"metadata":{"finalizers":[]}}' --type=mergeBest Practices
Order of Removal
Uninstall helm chart first
Delete PVCs next
Delete namespace only after other resources are gone
Data Protection
Backup all important data
Notes
Some resources might take time to delete due to finalizers
External resources might require manual cleanup
For additional assistance, refer to:
Last updated
Was this helpful?

