In certain circumstances, a custom PostgreSQL driver might be required to connect to the Postgres database designated for Datalore internal usage (for example, when RDS is used and requires IAM authentication).
tip
This article is about the Datalore's own internal PostgreSQL database connectivity, and does not affect any of its data source connection. To use a custom JDBC driver for a data source connection, refer to the Add custom JDBC drivers article.
The corresponding JAR file(s) should be placed in the /opt/datalore/tomcat/lib/ext directory. You may either:
embed these files into the Datalore image (building the custom images based on jetbrains/datalore-server:2025.2
override Datalore startup script located at /opt/datalore/on_start.sh, so these will be downloaded on each server pod startup.
note
Consider increasing the initialDelay in livenessProbe of the server deployment spec, if approach with downloading drivers on startup is chosen.
Once drivers are uploaded, the database connection string should be altered to reference a new driver: