For upgrading the Live Agent installation, once there is a new release, there are two ways:
Learn more about making upgrades and rollbacks at the official Helm Docs.
Pulling and upgrading at the same time¶
The following command can be used to pull and upgrade the Live Agent Helm chart at the same time:
helm upgrade cognigy-live-agent oci://cognigy.azurecr.io/helm/live-agent --version X.X.X --namespace live-agent -f custom-values.yaml
Note that the
custom-values.yaml file can contain just the values that need to be overridden, such as ingresses configurations, replicas and resources. In this way, the new release won't break the existing setup. You can refer to the documentation and see the release notes related to Helm if it does.
Pulling and modifying the
Run the following command:
helm pull oci://cognigy.azurecr.io/helm/live-agent --version X.X.X
This will download the Helm chart compressed.
Now it can be uncompressed, the
values.yaml file inside the folder needs to be modified according to your needs, and then, the chart can be upgraded by using the following command:
helm upgrade cognigy-live-agent ./live-agent-X.X.X --namespace live-agent
Both upgrade commands should automatically run a database migration job and apply every new change.
In case it fails, you can manually run the following command inside one of the main Live Agent pods: