This guide demonstrates how to upgrade an existing Immuta deployment installed with the older Immuta Helm chart (IHC) to v2024.2 LTS using the Immuta Enterprise Helm chart (IEHC).
Helm chart deprecation notice
As of Immuta version 2024.2, the IHC has been deprecated in favor of the IEHC. Their respective immuta-values.yaml
Helm values files are not compatible.
The PostgreSQL instance has been provisioned and is actively running.
The PostgreSQL instance's hostname/FQDN is resolvable from within the Kubernetes cluster.
The PostgreSQL instance is accepting connections.
For additional information, consult the Deployment requirements.
Fetch the metadata for the Helm release associated with Immuta.
Review the output from the previous step and verify the following:
The Immuta version (appVersion
) is
The last LTS (2022.5.x) or 2024.1 or newer
Less than 2024.2
The Immuta Helm chart (version
) is greater than or equal to 4.13.5
The Immuta Helm chart name (chart
) is immuta
If any of the criteria is not met, it's first necessary to perform a Helm upgrade using the IHC.
The new IEHC no longer supports deploying a Metadata database (PostgreSQL) inside the Kubernetes cluster. Before transitioning to the new IEHC, it's first necessary to externalize the Metadata database.
The following demonstrates how to take a database backup and import the data into each cloud provider's managed PostgreSQL service.
Get the metadata database pod name.
Spawn a shell inside the running metadata database pod.
Perform a database backup.
Type exit
, and then press Enter
to exit the shell prompt.
Copy file bometadata.dump
from the pod to the host's working directory.
Create a pod named immuta-setup-db
and spawn a shell.
Connect to the new PostgreSQL database as a superuser. Depending on the cloud provider, the default superuser name (postgres
) might differ.
Create immuta
, temporal
, and temporal_visiblity
databases and an immuta
role.
Type \q
, and then press Enter
to exit the psql prompt.
Authenticate as the immuta
user and create the pgcrypto extension.
Type \q
, and then press Enter
to exit the psql prompt.
Create a pod named immuta-restore-db
and spawn a shell.
Copy file bometadata.dump
from the host's working directory to pod immuta-restore-db
.
Spawn a shell inside pod immuta-restore-db
.
Perform a database restore while authenticated as role immuta
. Refer to the value substituted for <postgres-password>
when prompted to enter a password.
Type exit
, and then press Enter
to exit the shell prompt.
Delete pod immuta-restore-db
that was previously created.
No additional work is required. The existing database can be reused with the new IEHC.
Helm values file compatibility
The immuta-values.yaml
Helm values file used by the IHC is not compatible with the new IEHC.
Rename the existing immuta-values.yaml
Helm values file used by the IHC.
Follow the installation guide for your Kubernetes distribution of choice.