Uninstalling Argo CD from Kubernetes
If you've installed Argo CD in your Kubernetes cluster and need to remove it completely, follow these steps:
Step 1: Delete the Argo CD Namespace
First, you can delete the entire Argo CD installation by removing the namespace where it was deployed. Use the following command:
kubectl delete namespace argocd
This command will remove all resources associated with Argo CD in that namespace.
Step 2: Clean Up Remaining Resources
If you prefer to delete the installation using the manifest file, you can run:
kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
This command will ensure that all resources defined in the installation manifest are removed from your cluster.
Conclusion
By following these steps, you can ensure that Argo CD is completely uninstalled from your Kubernetes cluster. Always verify that no residual resources remain by checking the namespace or using kubectl get all -n argocd before and after the uninstallation process.