Instructions to update the IraDialer from verion 2.0.1-0 to 2.1.0-0

Download the latest iradialer deb using the below link:

Install the new deb
sudo apt install ./iradialer_2.1.0-0.deb

2. Delete the following deployment
iradialerweb
command: kubectl delete deployment iradialerweb 

Download the following updated yamls from the link below:
     i. iradialer.yaml to be replaced at - /usr/local/epi/conf/irawatch/analyser/yamls/
     ii. iradialerweb.yaml (k3s deployment file)
https://drive.google.com/drive/folders/1qyi8wlcdc53vaM7-IvM0mL6kz-zsQd0_?usp=drive_link

3. Delete the /usr/local/epi/conf/irawatch/analyser/yamls/iradialer.yaml file and copy the update iradialer.yaml file from drive to  /usr/local/epi/conf/irawatch/analyser/yamls/ directory

4. Replace the cluster id in the config file by running the following command

sudo sed -i 's/cluster_name: {{clusterName}}/cluster_name: my-cluster/' /usr/local/epi/conf/irawatch/analyser/yamls/iradialer.yaml

example: if the cluster id is "migration_loadtest" then it will be as follows

sudo sed -i 's/cluster_name: {{cluster_name}}/cluster_name: migration_loadtest/' /usr/local/epi/conf/irawatch/analyser/yamls/iradialer.yaml


5. Delete the analyser pod
kubectl delete pod <analyser-pod-name>

6. Apply deployment file using the below command:
kubectl apply -f iradialerweb.yaml