Skip to content

Commit 44fff68

Browse files
committed
added preinstall script description to 2.18
1 parent 36802ca commit 44fff68

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

docs/admin/runai-setup/cluster-setup/cluster-prerequisites.md

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -384,20 +384,20 @@ To use the script [download](https://github.com/run-ai/preinstall-diagnostics/re
384384

385385

386386
=== "SaaS"
387-
* On EKS deployments, please run aws configure prior to execution
387+
* On EKS deployments, please run `aws configure` prior to execution
388388

389389
``` bash
390-
chmod +x ./preinstall-diagnostics-darwin-arm64 && \
391-
./preinstall-diagnostics-darwin-arm64 \
390+
chmod +x ./preinstall-diagnostics-<platform> && \
391+
./preinstall-diagnostics-<platform> \
392392
--domain ${TENANT_NAME}.run.ai \
393393
--cluster-domain ${CLUSTER_FQDN}
394394
```
395395

396396
=== "Self-hosted"
397397

398-
399398
``` bash
400-
chmod +x ./preinstall-diagnostics-darwin-arm64 && ./preinstall-diagnostics-darwin-arm64 \
399+
chmod +x ./preinstall-diagnostics-<platform> && \
400+
./preinstall-diagnostics-<platform> \
401401
--domain ${CONTROL_PLANE_FQDN} \
402402
--cluster-domain ${CLUSTER_FQDN} \
403403
#if the diagnostics image is hosted in a private registry
@@ -409,10 +409,26 @@ To use the script [download](https://github.com/run-ai/preinstall-diagnostics/re
409409

410410
On an air-gapped deployment, the diagnostics image should be pulled, saved and manually pushed to the organization's registry.
411411

412-
The binary should be run with --image parameter to modify the diagnostics image to be used:
413-
412+
The binary should be run with `--image` parameter to modify the diagnostics image to be used:
414413

414+
``` bash
415+
#Save the image locally
416+
docker save --output preinstall-diagnostics.tar gcr.io/run-ai-lab/preinstall-diagnostics:${VERSION}
417+
#Load the image to the organization's registry
418+
docker load --input preinstall-diagnostics.tar
419+
docker tag gcr.io/run-ai-lab/preinstall-diagnostics:${VERSION} ${CLIENT_IMAGE_AND_TAG}
420+
docker push ${CLIENT_IMAGE_AND_TAG}
421+
```
415422

423+
Finally, run the diagnostics tool:
424+
``` bash
425+
chmod +x ./preinstall-diagnostics-darwin-arm64 && \
426+
./preinstall-diagnostics-darwin-arm64 \
427+
--domain ${CONTROL_PLANE_FQDN} \
428+
--cluster-domain ${CLUSTER_FQDN} \
429+
--image-pull-secret ${IMAGE_PULL_SECRET_NAME} \
430+
--image ${PRIVATE_REGISTRY_IMAGE_URL}
431+
```
416432

417433

418434
If the script shows warnings or errors, locate the file `runai-preinstall-diagnostics.txt` in the current directory and send it to Run:ai technical support.

0 commit comments

Comments
 (0)