See the Prerequisites section above.
Prepare Installation Artifacts¶
Run:ai Software Files¶
SSH into a node with
kubectl access to the cluster and
Run the following to enable image download from the Run:ai Container Registry on Google cloud:
To extract Run:ai files, replace
<VERSION> in the command below and run:
Upload images to a local Docker Registry. Set the Docker Registry address in the form of
NAME:PORT (do not add
Run the following script (you must dockerd installed and at least 20GB of free disk space to run):
If Docker is configured to run as non-root then
sudo is not required.
The script should create a file named
custom-env.yaml which will be used by the control-plane installation.
(Optional) Mark Run:ai System Workers¶
You can optionally set the Run:ai control plane to run on specific nodes. Kubernetes will attempt to schedule Run:ai pods to these nodes. If lacking resources, the Run:ai nodes will move to another, non-labeled node.
To set system worker nodes run:
Do not select the Kubernetes master as a
runai-system node. This may cause Kubernetes to stop working (specifically if Kubernetes API Server is configured on 443 instead of the default 6443).
As part of the installation, you will be required to install the Run:ai Control Plane and Cluster Helm Charts. The Helm Charts require Kubernetes administrator permissions. You can review the exact permissions provided by using the
--dry-run on both helm charts.
Continue with installing the Run:ai Control Plane.