feat(examples): add Ray on AKS example#5768
Draft
alyssa1303 wants to merge 4 commits into
Draft
Conversation
Add example for running Ray applications on AKS, including: - Setup script with commands for infra, Kueue, and KubeRay operator - RayCluster and RayJob manifests - Terraform-based AKS deployment (aks-classic) - CPU inference example with Kueue integration Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add run_inference_cpu command to setup.sh - Use MCR Ray image (ray:py3.12-ray2.54.0) - Rename namespace from e2e-stack to ray - Rename job from e2e-inference to cpu-inference - Consolidate install_kueue/install_kuberay into install_operators Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Head node at 4Gi was hitting 96% memory usage from Ray system processes alone. Increased to 8Gi and updated Kueue memory quota from 20Gi to 24Gi to accommodate. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add Helm provider to deploy Kueue and KubeRay via Terraform - Align Terraform defaults with setup.sh (VM sizes, node counts) - Update region to centralus in both setup.sh and Terraform - Simplify deploy.sh now that Terraform handles Helm releases Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an example for running Ray applications on AKS using the KubeRay operator and Kueue for job queueing.
What's included
Helm charts
Uses internal AKS AI Runtime charts from
oci://mcr.microsoft.com/aks/ai-runtime/helm: