清理资源

argocd app delete ecsdemo-nodejs
watch argocd app get ecsdemo-nodejs

所有资源删除完成后,会提示:

FATA[0000] rpc error: code = NotFound desc = applications.argoproj.io "ecsdemo-nodejs" not found 

从K8s集群中删除 ArgoCD :

kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

删除namespace:

kubectl delete ns argocd
kubectl delete ns ecsdemo-nodejs

同时将你github的代码库ecsdemo-nodejs 删除。