Install using Helm

Note

This section applies to self-hosted installation only. To install the cluster in SaaS, see the SaaS installation guide.

System and network requirements

Before installing the NVIDIA Run:ai cluster, validate that the system requirements and network requirements are met. For air-gapped environments, make sure you have the software artifacts prepared.

Once all the requirements are met, it is highly recommend to use the NVIDIA Run:ai cluster preinstall diagnostics tool to:

  • Test the below requirements in addition to failure points related to Kubernetes, NVIDIA, storage, and networking

  • Look at additional components installed and analyze their relevance to a successful installation

For more information, see preinstall diagnostics. To run the preinstall diagnostics tool, download the latest version, and run:

chmod +x ./preinstall-diagnostics-<platform> && \ 
./preinstall-diagnostics-<platform> \
  --domain ${CONTROL_PLANE_FQDN} \
  --cluster-domain ${CLUSTER_FQDN} \
#if the diagnostics image is hosted in a private registry
  --image-pull-secret ${IMAGE_PULL_SECRET_NAME} \
  --image ${PRIVATE_REGISTRY_IMAGE_URL}    

Helm

NVIDIA Run:ai requires Helm 3.14 or later. To install Helm, see Installing Helm. If you are installing an air-gapped version of NVIDIA Run:ai, the NVIDIA Run:ai tar file contains the helm binary.

Permissions

A Kubernetes user with the cluster-admin role is required to ensure a successful installation, for more information, see Using RBAC authorization.

Installation

Kubernetes

Connected

Follow the steps below to add a new cluster.

Note: When adding a cluster for the first time, the New Cluster form automatically opens when you log in to the NVIDIA Run:ai platform. Other actions are prevented, until the cluster is created.

If this is your first cluster and you have completed the New Cluster form, start at step 3. Otherwise, start at step 1.

  1. In the NVIDIA Run:ai platform, go to Resources

  2. Click +NEW CLUSTER

  3. Enter a unique name for your cluster

  4. Optional: Choose the NVIDIA Run:ai cluster version (latest, by default)

  5. Enter the Cluster URL. For more information, see Fully Qualified Domain Name requirement.

  6. Click Continue

Installing NVIDIA Run:ai cluster

In the next Section, the NVIDIA Run:ai cluster installation steps will be presented.

  1. Follow the installation instructions and run the commands provided on your Kubernetes cluster.

  2. Click DONE

The cluster is displayed in the table with the status Waiting to connect. Once installation is complete, the cluster status changes to Connected.

Tip: Use the --dry-run flag to gain an understanding of what is being installed before the actual installation. For more details, see see Understanding cluster access roles.

Air-gapped

Follow the steps below to add a new cluster.

Note: When adding a cluster for the first time, the New Cluster form automatically opens when you log in to the NVIDIA Run:ai platform. Other actions are prevented, until the cluster is created.

If this is your first cluster and you have completed the New Cluster form, start at step 3. Otherwise, start at step 1.

  1. In the NVIDIA Run:ai platform, go to Resources

  2. Click +NEW CLUSTER

  3. Enter a unique name for your cluster

  4. Optional: Choose the NVIDIA Run:ai cluster version (latest, by default)

  5. Enter the Cluster URL . For more information, see Fully Qualified Domain Name requirement.

  6. Click Continue

Installing NVIDIA Run:ai cluster

In the next Section, the NVIDIA Run:ai cluster installation steps will be presented.

  1. Follow the installation instructions and run the commands provided on your Kubernetes cluster.

  2. On the second tab of the cluster wizard, when copying the helm command for installation, you will need to use the pre-provided installation file instead of using helm repositories. As such:

    • Do not add the helm repository and do not run helm repo update.

    • Instead, edit the helm upgrade command.

      • Replace runai/runai-cluster with runai-cluster-<VERSION>.tgz.

      • Add --set global.image.registry=<DOCKER REGISTRY ADDRESS> where the registry address is as entered in the preparation section

      • Add --set global.customCA.enabled=true as described here

    The command should look like the following:

    helm upgrade -i runai-cluster runai-cluster-<VERSION>.tgz \
        --set controlPlane.url=... \
        --set controlPlane.clientSecret=... \
        --set cluster.uid=... \
        --set cluster.url=... --create-namespace \
        --set global.image.registry=registry.mycompany.local \
        --set global.customCA.enabled=true
  3. Click DONE

The cluster is displayed in the table with the status Waiting to connect. Once installation is complete, the cluster status changes to Connected.

Tip: Use the --dry-run flag to gain an understanding of what is being installed before the actual installation. For more details, see Understanding cluster access roles.

OpenShift

Connected

Follow the steps below to add a new cluster.

Note: When adding a cluster for the first time, the New Cluster form automatically opens when you log in to the NVIDIA Run:ai platform. Other actions are prevented, until the cluster is created.

If this is your first cluster and you have completed the New Cluster form, start at step 3. Otherwise, start at step 1.

  1. In the NVIDIA Run:ai platform, go to Resources

  2. Click +NEW CLUSTER

  3. Enter a unique name for your cluster

  4. Optional: Choose the NVIDIA Run:ai cluster version (latest, by default)

  5. Enter the Cluster URL

  6. Click Continue

Installing NVIDIA Run:ai cluster

In the next Section, the NVIDIA Run:ai cluster installation steps will be presented.

  1. Follow the installation instructions and run the commands provided on your Kubernetes cluster.

  2. Click DONE

The cluster is displayed in the table with the status Waiting to connect. Once installation is complete, the cluster status changes to Connected.

Air-gapped

When creating a new cluster, select the OpenShift target platform.

Follow the steps below to add a new cluster.

Note: When adding a cluster for the first time, the New Cluster form automatically opens when you log in to the NVIDIA Run:ai platform. Other actions are prevented, until the cluster is created.

If this is your first cluster and you have completed the New Cluster form, start at step 3. Otherwise, start at step 1.

  1. In the NVIDIA Run:ai platform, go to Resources

  2. Click +NEW CLUSTER

  3. Enter a unique name for your cluster

  4. Optional: Choose the NVIDIA Run:ai cluster version (latest, by default)

  5. Enter the Cluster URL

  6. Click Continue

Installing NVIDIA Run:ai cluster

In the next Section, the NVIDIA Run:ai cluster installation steps will be presented.

  1. Follow the installation instructions and run the commands provided on your Kubernetes cluster.

  2. On the second tab of the cluster wizard, when copying the helm command for installation, you will need to use the pre-provided installation file instead of using helm repositories. As such:

    • Do not add the helm repository and do not run helm repo update.

    • Instead, edit the helm upgrade command.

      • Replace runai/runai-cluster with runai-cluster-<VERSION>.tgz.

      • Add --set global.image.registry=<DOCKER REGISTRY ADDRESS> where the registry address is as entered in the preparations section

      • Add --set global.customCA.enabled=true as described here

    The command should look like the following:

    helm upgrade -i runai-cluster runai-cluster-<VERSION>.tgz \
        --set controlPlane.url=... \
        --set controlPlane.clientSecret=... \
        --set cluster.uid=... \
        --set cluster.url=... --create-namespace \
        --set global.image.registry=registry.mycompany.local \
        --set global.customCA.enabled=true
  3. Click DONE

The cluster is displayed in the table with the status Waiting to connect. Once installation is complete, the cluster status changes to Connected.

Note

To customize the installation based on your environment, see Customized installation.

Troubleshooting

If you encounter an issue with the installation, try the troubleshooting scenario below.

Installation

If the NVIDIA Run:ai cluster installation failed, check the installation logs to identify the issue. Run the following script to print the installation logs:

curl -fsSL https://raw.githubusercontent.com/run-ai/public/main/installation/get-installation-logs.sh

Cluster status

If the NVIDIA Run:ai cluster installation completed, but the cluster status did not change its status to Connected, check the cluster troubleshooting scenarios

Last updated