This section provides instructions to upgrade an existing Eggplant DAI deployment.

Upgrading Eggplant DAI from 4.x to 5.x

When upgrading from version 4.x to version 5.x, you should prepare your values file by exporting the settings used by your existing installation:

$ helm get values dai --namespace dai > dai.yaml

You'll need to edit the file to change the image tag for the upgrade version and to add the new parameters it requires so that your file reflects the example presented above:

  • Add your service token and jwt secret into the global section. As these parameters are new for version 5.x, they'll be supplied to you by Eggplant.

When upgrading, also add the following additional setting to provide your RabbitMQ credentials for the current installation:


password: '<rabbitmq password>'

erlangCookie: '<rabbitmq cookie>'

To obtain the values for these parameters:

$ kubectl get secret dai-rabbitmq -o json | jq -r '.data'

Before upgrading, we recommend taking a snapshot or backup of your database. The process of backing up your database itself depends on your local environment. Although this is optional, it's a recommended, step.

If you are upgrading from 4.0.0 then you will need to apply a change to your database. Using the information in the externaldatabase block in your values file, update this setting:

$ psql -h <host> -U <user> ttdb -c 'ALTER TABLE executionstatus ADD COLUMN modelid uuid's


This topic was last updated on August 19, 2021, at 03:30:47 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant