@@ -384,20 +384,20 @@ To use the script [download](https://github.com/run-ai/preinstall-diagnostics/re
384
384
385
385
386
386
=== "SaaS"
387
- * On EKS deployments, please run aws configure prior to execution
387
+ * On EKS deployments, please run ` aws configure ` prior to execution
388
388
389
389
``` bash
390
- chmod +x ./preinstall-diagnostics-darwin-arm64 && \
391
- ./preinstall-diagnostics-darwin-arm64 \
390
+ chmod +x ./preinstall-diagnostics-<platform> && \
391
+ ./preinstall-diagnostics-<platform> \
392
392
--domain ${TENANT_NAME}.run.ai \
393
393
--cluster-domain ${CLUSTER_FQDN}
394
394
```
395
395
396
396
=== "Self-hosted"
397
397
398
-
399
398
``` bash
400
- chmod +x ./preinstall-diagnostics-darwin-arm64 && ./preinstall-diagnostics-darwin-arm64 \
399
+ chmod +x ./preinstall-diagnostics-<platform> && \
400
+ ./preinstall-diagnostics-<platform> \
401
401
--domain ${CONTROL_PLANE_FQDN} \
402
402
--cluster-domain ${CLUSTER_FQDN} \
403
403
#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
409
409
410
410
On an air-gapped deployment, the diagnostics image should be pulled, saved and manually pushed to the organization's registry.
411
411
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:
414
413
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
+ ```
415
422
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
+ ```
416
432
417
433
418
434
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