Date of Release: May 2025
JIRA ID | Issue |
---|---|
IPD-28155* | To disable the password field getting logged in the job logs. |
IPD-28157* | Segment is ingested and status is getting failed. |
IPD-28171* | One of segment got completed but status stuck in Running state in Prod. |
IPD-28184* | Issue with Workflow Parameter Recognition in Infoworks. |
xxxxxxxxxx
cat /opt/infoworks/iw-k8s-installer/infoworks/Chart.yaml | grep appVersion
xxxxxxxxxx
appVersion: 6.1.3
Ensure to take backup of MongoDB Atlas and PostgresDB PaaS. In case you don't take the backup, jobs will fail after the rollback operation. For more information, refer to the MongoDB Backup and PostgresDB PaaS Backup |
For the procedure of libraries uninstalling, refer Step 4 below.
To upgrade Infoworks on Kubernetes:
It is assumed that the existing chart is placed in the /opt/infoworks directory and the user has the access permission. |
xxxxxxxxxx
export IW_HOME="/opt/infoworks"
Before selecting the type of upgrade execute the following commands.
Step 1: Create the required directories and change the path to that directory.
xxxxxxxxxx
mkdir -p $IW_HOME/downloads
cd $IW_HOME/downloads
IW_HOSTED_REGISTRY=false
), you should download the Docker image ‘infoworks-mongo-utils_v6.1.3.tar.gz
’ following the instructions that have been shared with you. After downloading, push this image to your configured registry, ensuring that you do not change the image tags.
Step 1: Download the upgrade tar files shared by the Infoworks team to the Bastion (Jump host) VM and place it under $IW_HOME/downloads.
Step 2: To configure Internet-free upgrade, execute the following command:
xxxxxxxxxx
export INTERNET_FREE=true
Step 1: Download the Update script tar file.
xxxxxxxxxx
wget https://iw-saas-setup.s3-us-west-2.amazonaws.com/6.1/iwx_updater_k8s_6.1.3.1.tar.gz
Step 1: Extract the iwx_updater_k8s_6.1.3.1.tar.gz under $IW_HOME/downloads.
Do not extract the tar file to /opt/infoworks/iw-k8s-installer as it would result in loss of data. |
xxxxxxxxxx
tar xzvf iwx_updater_k8s_6.1.3.1.tar.gz
This should create two new files as follows - update-k8s.sh and configure.sh.
Step 2: Run the script.
xxxxxxxxxx
./update-k8s.sh -v 6.1.3.1
helm upgrade 600 /opt/infoworks/iw-k8s-installer/infoworks -n aks-upgrade-551 -f /opt/infoworks/iw-k8s-installer/infoworks/values.yaml
Enter N to skip running the above command to upgrade the helm deployment. (timeout: 30 seconds): N
Upgrade success
Step 3: To modify any of the configurations listed below, follow the steps:
Step 3A: Navigate to the directory IW_HOME/iw-k8s-installer
. And Edit the values.yaml
file
Name | Description | Default Values | |
---|---|---|---|
Email configuration | smtpHost | The SMTP host URL to connect to | smtp.gmail.com |
smtpPort | SMTP port | 587 | |
smtpUsername | The SMTP User to authenticate as | email address | |
smtpPassword | The Password for the SMTP user | Encrypted password | |
sslEnabled | The SSL flag | true | |
DT | timeoutSeconds | Timeout for DT | 7200 |
Ingestion | timeoutSeconds | Timeout for Ingestion | 7200 |
nginx.ingress | kubernetes.io/proxy-body-size | Nginx proxy body size | 10m |
Step 3B: After editing the annotations, the values.yaml file should look as shown below:
Update the values and save the file.
Step 3C: Navigate to the directory IW_HOME/iw-k8s-installer
. And Run the iw_deploy
script
xxxxxxxxxx
./iw_deploy.sh
Step 3D: Restart all the deployments
xxxxxxxxxx
kubectl rollout restart deployment -n <namespace>
Step 4: (Applicable only for Databricks Persistent Clusters): A change in the Infoworks jar requires libraries being uninstalled and cluster restart. Without this step, there will be stale jars. Perform the following steps:
(i) Go to the Databricks workspace, navigate to the Compute page, and select the cluster that has stale jars.
(ii) In the Libraries tab, select all the Infoworks jars and click Uninstall.
(iii) From Infoworks UI or Databricks dashboard, select Restart Cluster.
xxxxxxxxxx
export IW_HOME=/opt/infoworks
xxxxxxxxxx
cat $IW_HOME/iw-k8s-installer/infoworks/Chart.yaml | grep appVersion
xxxxxxxxxx
appVersion: 6.1.3.1
Ensure to restore MongoDB Atlas and PostgresDB PaaS. In case you don't take the backup, jobs will fail after the restore operation. For more information, refer to the MongoDB Restore and PostgresDB Restore. |
Step 1: Download the rollback script.
xxxxxxxxxx
wget https://iw-saas-setup.s3.us-west-2.amazonaws.com/6.1/rollback-k8s.sh
Step 2: Place the Update script in the same directory as that of the existing iw-k8s-installer.
Step 3: Ensure you have permission to the $IW_HOME directory.
Step 4: Give executable permission to the rollback script using the below command.
xxxxxxxxxx
chmod +x rollback-k8s.sh
Step 5: Run the script.
xxxxxxxxxx
./rollback-k8s.sh -v 6.1.3
Step 6: You will receive the following prompt, "Enter N to skip running the above command to upgrade the helm deployment. (timeout: 30 seconds): ", type Y and press Enter.
xxxxxxxxxx
Enter N to skip running the above command to upgrade the helm deployment. (timeout: 30 seconds): Y