Upgrade ISD-Argo with Argo CD and Argo Rollouts from v4.1.2 to v4.1.3
Please follow these instructions if you are upgrading from v4.1.2 (to 4.1.3).
WARNING: Please backup all the databases, in particular the Postgres DB, BEFORE beginning the upgrade. Backup procedures may differ depending on your usage of external DBs for Autopilot Services.
Following are the sequence of activities to perform the upgrade.
Pre-requisites:
Users need to have access to the Kubernetes Cluster and namespace where ISD-Argo with Argo CD and Argo Rollouts is running that is where v4.1.1 is running.
Users need to have access to GitHub and be able to clone enterprise-argo repo.
Cloning the Repo and update values file:
Clone the enterprise-argo repo using the below command
git clone https://github.com/OpsMx/enterprise-argo.git
You need to use isd-argo-minimal-values.yaml file for upgrading to v4.1.3.
Update the isd-argo-minimal-values.yaml file with specifically ISD URL, ArgoCD URL, Argo Rollouts URL, Vela URL, Keycloak URL by using the below commands. The complete set of values.yaml is available here.
Use the below command to update the ISD, Keycloak,Vela,Argo CD, Argo Rollouts URL
sed -i "s/ISD.REPLACE.THIS.WITH.YOURCOMPANY.COM/<Provide your ISD url here>/g" isd-argo-minimal-values.yaml
sed -i "s/ARGO.REPLACE.THIS.WITH.YOURCOMPANY.COM/<Provide your Argo CD url here>/g" isd-argo-minimal-values.yaml
sed -i "s/ROLLOUTS.REPLACE.THIS.WITH.YOURCOMPANY.COM/<Provide your Argo rollouts url here>/g" isd-argo-minimal-values.yaml
sed -i "s/VELA.REPLACE.THIS.WITH.YOURCOMPANY.COM/<Provide your VELA url here>/g" isd-argo-minimal-values.yaml
sed -i "s/KEYCLOAK.REPLACE.THIS.WITH.YOURCOMPANY.COM/<Provide your Keycloak url here>/g" isd-argo-minimal-values.yaml
Set argo crds to false. In isd-argo-minimal-values.yaml, under the argo-cd.crds.install to false.
Helm upgrade
Go to the cloned repo, for eg: cd enterprise-argo and execute the below command:
helm upgrade <release name> charts/isdargo/ -f charts/isdargo/isd-argo-minimal-values.yaml -n <namespace> --timeout=10m --debug
Wait for 10 minutes till the helm upgrade completes.
helm upgrade <release name> charts/isdargo/ -f charts/isdargo/isd-argo-minimal-values.yaml -n <namespace> --timeout=10m --debug
Release "<release name>" has been upgraded. Happy Helming!
NAME: <release name>
LAST DEPLOYED: Mon Feb 6 19:40:34 2023
NAMESPACE: <namespace>
STATUS: deployed
REVISION: 2
TEST SUITE: None
Post Installation Steps
Login to ISD UI and check whether the ISD version is updated right after the help button in the top right corner. Refer to the image below.
Navigate to the Agent Screen in ISD and click on edit button.
Click Download Agent Manifest and apply the file where ISD-Argo is running. Use the below command to apply the file
kubectl apply -f isd-argo-agent.yml -n <namespace>
Delete the Agent pod by using the command given below:
kubectl delete po -l agent.opsmx.com/role=agent -n
Click the CD integration page and verify the agent status is healthy(green).
Please verify all the screens of ISD.
If an upgrade fails
If anything goes wrong during upgrade, please Rollback to the previous version using the below command:
helm rollback <release name> -n <namesp
Last updated
Was this helpful?