Preparations
The following section provides the information needed to prepare for a NVIDIA Run:ai installation.
Software Artifacts
The following software artifacts should be used when installing the control plane and cluster.
Kubernetes
OpenShift
Private Docker Registry (Optional)
Set Up Your Environment
External Postgres Database (Optional)
If you have opted to use an external PostgreSQL database, you need to perform initial setup to ensure successful installation. Follow these steps:
Create a SQL script file, edit the parameters below, and save it locally:
Replace
<DATABASE_NAME>
with a dedicate database name for NVIDIA Run:ai in your PostgreSQL database.Replace
<ROLE_NAME>
with a dedicated role name (user) for NVIDIA Run:ai database.Replace
<ROLE_PASSWORD>
with a password for the new PostgreSQL role.Replace
<GRAFANA_PASSWORD>
with the password to be set for Grafana integration.
-- Create a new database for runai CREATE DATABASE <DATABASE_NAME>; -- Create the role with login and password CREATE ROLE <ROLE_NAME> WITH LOGIN PASSWORD '<ROLE_PASSWORD>'; -- Grant all privileges on the database to the role GRANT ALL PRIVILEGES ON DATABASE <DATABASE_NAME> TO <ROLE_NAME>; -- Connect to the newly created database \c <DATABASE_NAME> -- grafana CREATE ROLE grafana WITH LOGIN PASSWORD '<GRAFANA_PASSWORD>'; CREATE SCHEMA grafana authorization grafana; ALTER USER grafana set search_path='grafana'; -- Exit psql \q
Run the following command on a machine where PostgreSQL client (
pgsql
) is installed:Replace
<POSTGRESQL_HOST>
with the PostgreSQL ip address or hostname.Replace
<POSTGRESQL_USER>
with the PostgreSQL username.Replace
<POSTGRESQL_PORT>
with the port number where PostgreSQL is running.Replace
<POSTGRESQL_DB>
with the name of your PostgreSQL database.Replace
<POSTGRESQL_DB>
with the name of your PostgreSQL database.Replace
<SQL_FILE>
with the path to the SQL script created in the previous step.
psql --host <POSTGRESQL_HOST> \ --user <POSTGRESQL_USER> \ --port <POSTGRESQL_PORT> \ --dbname <POSTGRESQL_DB> \ -a -f <SQL_FILE> \
Last updated