Uninstalling on Kubernetes
Steps to uninstall the Disaster Recovery Operator on Kubernetes
Process
1. Delete Operator objects
Delete the resources in the destination cluster:
kubectl delete recoveryexecutionjobs -A --all
Delete the recovery plans in the management cluster:
kubectl delete recoveryplans -A --all
Delete the managed clusters and recovery buckets in the management cluster:
kubectl delete managedclusters,recoverybuckets -A --all
2. Remove the operator
Delete the operator:
kubectl -n astronetes-disaster-recovery-operator delete -f https://astronetes.io/deploy/disaster-recovery-operator/v0.11.0/operator-k8s.yaml
Delete the CRDs:
kubectl delete -f https://astronetes.io/deploy/disaster-recovery-operator/v0.11.0/crds.yaml
3. Remove registry credentials
Delete the Secret that stores the credentials to the AstroKube image registry:
kubectl -n astronetes-disaster-recovery-operator delete -f pull-secret.yaml
4. Remove license key
Delete the Secret that stores the license key:
kubectl -n astronetes-disaster-recovery-operator delete -f license-key.yaml