Install the Run:ai Control Plane¶
Create a Control Plane Configuration¶
Note
The control-plane installation on OpenShift assumes that an identity provider has been configured in OpenShift.
Run: oc login
. Then create a configuration file to install the Run:ai control plane:
Generate a values file by running:
- Name of the administrator user in the company directory
Generate a values file by running the following under the deploy
folder:
runai-adm generate-values --openshift \
--first-admin <FIRST_ADMIN_USER_OF_RUNAI> \ # (1)
--airgapped
- Name of the administrator user in the company directory
Generate a values file by running the following under the deploy
folder:
runai-adm generate-values --openshift \
--first-admin <FIRST_ADMIN_USER_OF_RUNAI> \ # (1)
--registry <docker-registry-address> # (2)
- Name of the administrator user in the company directory
- Docker Registry address in the form of
NAME:PORT
(do not addhttps
):
A file called runai-backend-values.yaml
will be created.
Upload images (Airgapped only)¶
Upload images to a local Docker Registry. Set the Docker Registry address in the form of NAME:PORT
(do not add https
):
Run the following script (you must have at least 20GB of free disk space to run):
(If docker is configured to run as non-root then sudo
is not required).
Install the Control Plane¶
Run the helm command below:
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
Info
To install a specific version, add --version <version>
to the install command. You can find available versions by running helm search repo -l runai-backend
.
Tip
Use the --dry-run
flag to gain an understanding of what is being installed before the actual installation.
Connect to Run:ai User Interface¶
Run: oc get routes -n runai-backend
to find the Run:ai Administration User Interface URL. Log in using the default credentials: User: test@run.ai
, Password: Abcd!234
. Go to the Users area and change the password.
Next Steps¶
Continue with installing a Run:ai Cluster.
Created: 2023-03-26