How to upgrade argo workflows? #12834
-
I am using the cluster installation of Argo Workflows, meaning I have one single Argo instance running in my Kubernetes cluster. I was wondering how to upgrade it properly. I am under the impression, that a clean upgrade requires a complete removal of Argo Workflows from the cluster and re-deploy it again, using the new version. As far as I know, that requires to tear down all the workflows as well, because Argo's CRDs can't be removed, when they are used by workflows. And that implies I have to tear down all workflows, tear down Argo, re-deploy Argo, and finally re-reploy all workflows again. But that doesn't sound right either. So, what is the best approach here? How are you doing it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, you don't need to do that. That will update all manifests to the new versions, including CRDs as well as all |
Beta Was this translation helpful? Give feedback.
No, you don't need to do that.
You can just deploy the new manifests or do a
helm upgrade
if you're using the Helm Chart. With Argo CD or other GitOps tools, you can similarly update the version and thensync
.That will update all manifests to the new versions, including CRDs as well as all
Deployments
to new images (etc). TheDeployment
updates will trigger a rolling deploy of the Pods (depending on yourstrategy
configuration) and when that completes you'll be on the new version.