Update EDITable Container Instance (for 3.x users)

This guide details the steps required to update the EDITable container instance within an Azure on-premises environment. Please follow these instructions carefully to ensure a smooth and successful update.

1. Edit the CNI Configuration

  1. Open your Azure CLI window and run the following command:

az container export -g <resource group name> -n <container instance name > --file output_file
Launch Azure CLI and execute the command
  1. To download the output file, click Manage files -> Download and enter the path of the output file. Click Download.

Download the output file
  1. Click on the output file to download it to your local system.

Download locally
  1. Now configure the below-listed container configurations in this file for EDITable container deployment.

Containers Instance List

The following are the set of containers required for the EDITable deployment of Azure container instance.

Note: Transition from Default Azure Domain to Custom Domain

When transitioning to a custom domain (e.g., https://webapp.inforiver.com) from the default Azure domain (e.g., https://webapp.azurewebsites.net), it is necessary to update the URL in the configuration settings of both the Azure App Service and the associated Container Instances. Specifically, ensure the environment variable ADMIN_PORTAL_URL is updated to reflect the new custom domain in both services.

i) Inforiver Cron

- name: inforiver-cron-container
    properties:
      configMap:
        keyValuePairs: {}
      environmentVariables:
      - name: ADMIN_PORTAL_URL
        value: <Admin Portal URL>
      image: turing.azurecr.io/turing-cron:<tag>
      ports: []
      resources:
        requests:
          cpu: 0.25
          memoryInGB: 0.5

ii) Inforiver Audit

- name: inforiver-audit-container
    properties:
      configMap:
        keyValuePairs: {}
      environmentVariables:
      - name: ADMIN_PORTAL_URL
        value: <Admin Portal URL>
      image: turing.azurecr.io/turing-audit:<tag>
      ports: []
      resources:
        requests:
          cpu: 0.25
          memoryInGB: 0.5

iii) Inforiver Worker

- name: inforiver-worker-container
    properties:
      configMap:
        keyValuePairs: {}
      environmentVariables:
      - name: ADMIN_PORTAL_URL
        value: <Admin Portal URL>
      image: turing.azurecr.io/turing-worker:<tag>
      ports: []
      resources:
        requests:
          cpu: 0.25
          memoryInGB: 2.0

iv) Inforiver Orchestrator

- name: inforiver-orchestrator-container
    properties:
      configMap:
        keyValuePairs: {}
      environmentVariables:
      - name: ADMIN_PORTAL_URL
        value: <Admin Portal URL>
      image: turing.azurecr.io/turing-orchestrator:<tag>
      ports: []
      resources:
        requests:
          cpu: 0.25
          memoryInGB: 1.0

v) Inforiver Comment Worker

- name: inforiver-comment-worker-container
    properties:
      configMap:
        keyValuePairs: {}
      environmentVariables:
      - name: ADMIN_PORTAL_URL
        value: <Admin Portal URL>
      - name: SERVICE_NAME
        value: "commentWorker"
      image: turing.azurecr.io/turing-worker:<tag>
      ports: []
      resources:
        requests:
          cpu: 0.25
          memoryInGB: 1.0

vi) MDM Worker

- name: mdm-worker-container
    properties:
      configMap:
        keyValuePairs: {}
      environmentVariables:
      - name: ADMIN_PORTAL_URL
        value: <Admin Portal URL>
      - name: PRODUCT_BUILD
        value: mde
      image: turing.azurecr.io/turing-mdm-worker:<tag>
      ports: []
      resources:
        requests:
          cpu: 1
          memoryInGB: 3.0

vii) EDITable Visual Worker

- name: editable-visual-worker-container
    properties:
      configMap:
        keyValuePairs: {}
      environmentVariables:
      - name: ADMIN_PORTAL_URL
        value: <Admin Portal URL>
      - name: PRODUCT_BUILD
        value: mde
      image: turing.azurecr.io/turing-visual-worker:<tag>
      ports: []
      resources:
        requests:
          cpu: 0.25
          memoryInGB: 3.0
  1. After adding the list of container configurations correctly in the container instances, verify the steps.

  2. Provide the username and password for pulling the image from the registry. You would have received this information during the initial deployment. If not, please get in touch with our support team.

  3. Remove the IP configuration section from the configuration file from the ACI.

Remove the IP configuration
  1. Update the API version as specified below.

apiVersion: '2023-02-01-preview'

2. Create ACI

Add the listed set of EDITable containers into a configuration file and create an ACI named editablecontainerinstance.

After adding all the containers in the configuration file, execute the following command to create a container instance.

az container create -g <resource group name> -n <container instance name> --file output_file

The CNI will start provisioning with the latest configuration.

Create container instance

Please wait until the status is complete.

By following the steps outlined in this guide, you will be able to successfully update your EDITable container instance. This update brings enhanced features and improvements that will benefit your Azure on-premises environment.

Ensure all steps are completed carefully and refer to the provided screenshots for additional assistance. If you encounter any issues or need further assistance, please contact our technical support team here.

Last updated