Skip to content

Install the Run:AI Backend

Set Backend Configuration

Customize the Run:AI backend configuration file.

Edit runai-backend/runai-backend-helm-release.yaml

Generate a values file by running:

runai-adm generate-values --domain runai.<company-name>

Change the following properties in the values file.

Key Change Description
nginx-ingress.controller.externalIPs <RUNAI_IP_ADDRESS> IP address allocated for Run:AI.
backend.https replace key and crt with public and private keys for runai.<company-name>
postgresql.persistence PostgreSQL permanent storage via a Persistent Volume. You can either use storageClassName to create a PV automatically or set nfs.server and nfs.path to provide the network file storage for the PV. The folder in the path should be pre-created and have full access rights
thanos.receive.persistence Permanent storage for Run:AI metrics See Postresql persistence above. Can use the same location
Optional:
backend.initTenant.promProxy
and
grafana.datasources.datasources.yaml.datasources.url
When using an existing Promethues service, replace this URL with the URL of the existing Prometheus service (obtain by running kubectl get svc on the Prometheus namespace) Internal URL to Promethues server
pspEnabled <true/false> Set to true if using PodSecurityPolicy
nginx-ingress.podSecurityPolicy Set to true if using PodSecurityPolicy
backend.initTenant.admin Change password for admin@run.ai This user is the master Backend administrator

Install Backend

Run the helm command below:

helm install runai-backend runai-backend/runai-backend-<version>.tgz -n \
    runai-backend -f runai-backend/runai-backend-helm-release.yaml 
(replace <version> with the backend version)

helm repo add runai-backend https://backend-charts.storage.googleapis.com
helm repo update
helm install runai-backend -n runai-backend runai-backend/runai-backend  \
    -f runai-backend-values.yaml

Tip

Use the --dry-run flag to gain an understanding of what is being installed before the actual installation.

Connect to Administrator User Interface

Go to: runai.<company-name>. Log in using the default credentials: User: test@run.ai, Password: password

Next Steps

Continue with installing a Run:AI Cluster.


Last update: October 11, 2021