Prepare for an upgrade¶
The following preparation steps are required and must be completed prior to initiating a DataRobot application upgrade:
-
Review the general DataRobot requirements and the specific requirements for your platform.
-
Ensure you have access to the required container images for your target version.
-
Back up DataRobot database and configuration prior to upgrade.
-
Gather the
DATAROBOT_NAMESPACEvalue, which is the namespace where the DataRobot application is installed. Use the following command to list installeddrreleases and check the "NAMESPACE" column:helm list -A --filter '^dr' export NAMESPACE="DATAROBOT_NAMESPACE"備考
Replace
DATAROBOT_NAMESPACEwith your DataRobot namespace. -
Determine if DataRobot was installed using Limited Admin Permissions. This is the case if the
admin-privilegeschart is installed. Check for the chart's presence by executing:helm list -A --filter admin-privs -
For versions earlier 11.x check avalible storage space. DataRobot includes a PostgreSQL upgrade utility that backs up the data directory. This requires additional storage:
- If your storage mount has less than ~25% available storage space (relative to the PostgreSQL data directory size), the PostgreSQL upgrade might fail.
- For example, if your PostgreSQL data directory is 100GB, you need an additional 100GB to back up the old data and another 100GB for the new PostgreSQL data directory.
- You can delete the old data directory after the upgrade is complete and validated.
Check storage availability on the primary PostgreSQL pod.
kubectl exec -it -n ${NAMESPACE} pcs-postgresql-0 -- bash -c "df -kh /bitnami/postgresql" -
Review Application-level TLS configuration. DataRobot requires application-level TLS for inter-service communication. This requires
cert-managerto be available. See the TLS requirements for more details.