| name | post-uninstall |
| description | Uninstall post-orchestrator EMF application components |
Post-Uninstall
Uninstall post-orchestrator EMF application components.
What this does
- Removes specific EMF components
- Cleans up application deployments
- Removes databases and data
- Cleans up secrets and configurations
- Preserves or removes PVCs based on choice
Usage
Use this skill when you want to:
- Remove specific components
- Clean up failed deployments
- Redeploy components from scratch
- Completely remove EMF stack
Run post-uninstall by:
- Confirm what to uninstall - never assume!
- Check dependencies:
- List components that depend on target
- Identify services that will be affected
- Check for active connections
- Backup data (if needed):
- Identify PVCs with important data
- Backup databases
- Export configurations
- Preview deletion:
cd post-orch/
source post-orch.env
helmfile -e onprem-eim -l app=<component> list
- Execute removal:
helmfile -e onprem-eim -l app=<component> destroy
helmfile -e onprem-eim destroy
- Manual cleanup if needed:
- Remove stuck finalizers
- Delete PVCs:
kubectl delete pvc -n <namespace> <pvc-name>
- Clean up namespaces if needed
- Verify cleanup:
- Check resources are removed
- Confirm no lingering pods/PVCs
- Check for stuck finalizers
- Report completion and any remaining resources
Safety checks:
- Never delete without explicit confirmation
- Warn about PVC data loss
- Check for dependent services first
- Avoid
--force operations
- Be careful with namespace deletion
Uninstall order (reverse of install):
- Applications
- Databases
- Network components
- External Secrets
- Vault
- Cert Manager