ArgoCD Upgrade Failure (via Helm) #3479
|
Hey Team, However, at this point all the data was gone and we were left with a blank UI ( no apps, no projects. Nothing ). We then performed a helm rollback to the previous version, argoCD did go back to running on 2.8.4 again however the data still did not come back. kubectl get applications.argoproj.io -n argocd -o yaml > applications-backup.yaml
kubectl get appprojects.argoproj.io -n argocd -o yaml > appprojects-backup.yaml
kubectl get cm argocd-cm -n argocd -o yaml > argocd-cm-backup.yaml
kubectl get cm argocd-rbac-cm -n argocd -o yaml > argocd-rbac-cm-backup.yaml
kubectl get cm argocd-tls-certs-cm -n argocd -o yaml > argocd-tls-certs-cm-backup.yaml
kubectl get cm argocd-cmd-params-cm -n argocd -o yaml > argocd-cmd-params-cm-backup.yaml
kubectl get cm argocd-ssh-known-hosts-cm -n argocd -o yaml > argocd-ssh-known-hosts-cm-backup.yaml
kubectl get crds -n argocd -o yaml > argocd-crds-backup.yaml
kubectl get secrets -n argocd -o yaml > secrets-backup.yamlThis brought back the data and provided some relief. However we were not sure as to what had actually happened and why? This activity was initially performed on dev environment and it went through without any issues. The upgrade path was different though (2.10 to 2.11 (app version). Upon performing some deep analysis we found couple of gotchas and would like and appreciate if you provided some guidance here.
|
Replies: 1 comment
|
(I added some sections to your question for better readability.) First I have to say that you are using a very old and also unsupported version of Argo CD. The project only supports
With the information given, we can also not reproduce it on our end (we miss the used data of values.yaml). But keep in mind: Starting with the chart version 5.x resp. 5.2 the handling of the CRDs changed. So to not manage the CRDs with helm, you need to use the parameter crds:
install: falseRef: #1342 Could you mange the upgrade in the meantime or do you still struggle? |
(I added some sections to your question for better readability.)
First I have to say that you are using a very old and also unsupported version of Argo CD. The project only supports
N-2where N is the current feature release (e.g. 3.2). In this case only these 3 minor versions are supported:With the information given, we can also not reproduce it on our end (we miss the used data of values.yaml).
But from what I read, even if the CRDs were not upgraded, the upgrade should not result in lost data (state of the CRDs).
But keep in mind: Starting with the chart version 5.x resp. 5.2 the handling of the CRDs changed. So to not manage the CRDs with helm, you need to use the…