Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List all supported clouds in the README #776

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions training/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ The following image disk types are currently available:
| `anaconda-iso` | An unattended Anaconda installer that installs to the first disk found. |
| `raw` | Unformatted [raw disk](https://en.wikipedia.org/wiki/Rawdisk). |

# Images customized for cloud providers

For building images customized for each supported cloud provider, please read the [cloud providers section](cloud)

# Troubleshooting

Sometimes, interrupting the build process may lead to wanting a complete restart of the process. For those cases, we can instruct `podman` to start from scratch and discard the cached layers. This is possible by passing the `--no-cache` parameter to the build process by using the `CONTAINER_TOOL_EXTRA_ARGS` variable:
Expand Down
26 changes: 13 additions & 13 deletions training/cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ Please refer to the official RHEL AI documentation on how to create machine imag

# Makefile variables

| Variable | Description | Default |
|---------------------------|-------------------------------------------------|--------------------------------------------------------------|
| CLOUD | Sets the name of the cloud: aws, gcp, ibm, ... | ` ` |
| HARDWARE | Hardware accelerator RHEL AI source image | `nvidia` |
| VERSION | RHEL AI version | `1.1` |
| REGISTRY | Container Registry for storing container images | `quay.io` |
| REGISTRY_ORG | Container Registry organization | `ai-lab` |
| IMAGE_NAME | Container image name | `bootc-${HARDWARE}-rhel9-${CLOUD}` |
| IMAGE_TAG | Container image tag | `${CLOUD}-latest` |
| CONTAINER_TOOL | Container tool used for build | `podman` |
| CONTAINER_TOOL_EXTRA_ARGS | Container tool extra arguments | ` ` |
| BASEIMAGE | Source RHEL AI image | `registry.stage.redhat.io/rhelai1/bootc-nvidia-rhel9:latest` |
| BOOTC_IMAGE_CLOUD | Override cloud image name | `${REGISTRY}/${REGISTRY_ORG}/${IMAGE_NAME}:${IMAGE_TAG}` |
| Variable | Description | Default |
|---------------------------|--------------------------------------------------------|--------------------------------------------------------------|
| CLOUD | Sets the name of the cloud: aws, azure, gcp, ibm | ` ` |
| HARDWARE | Hardware accelerator RHEL AI source image | `nvidia` |
| VERSION | RHEL AI version | `1.1` |
| REGISTRY | Container Registry for storing container images | `quay.io` |
| REGISTRY_ORG | Container Registry organization | `ai-lab` |
| IMAGE_NAME | Container image name | `bootc-${HARDWARE}-rhel9-${CLOUD}` |
| IMAGE_TAG | Container image tag | `${CLOUD}-latest` |
| CONTAINER_TOOL | Container tool used for build | `podman` |
| CONTAINER_TOOL_EXTRA_ARGS | Container tool extra arguments | ` ` |
| BASEIMAGE | Source RHEL AI image | `registry.stage.redhat.io/rhelai1/bootc-nvidia-rhel9:latest` |
| BOOTC_IMAGE_CLOUD | Override cloud image name | `${REGISTRY}/${REGISTRY_ORG}/${IMAGE_NAME}:${IMAGE_TAG}` |


# Example on how to build your own AI Bootc disk image
Expand Down