BRK422 · Breakout

Run open-weight models, post-training, and agents on AKS

  • Friday 20 November
  • 48 min
  • Catalogue level: (300) Advanced
  • Our depth rating: 300
  • Worth watching: 2/3

Speakers: Lachie Evenson, Jorge Palma, Jeremy Cohen, Shanshan Song

Watch on Microsoft’s site from 08:36

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

Session on running three AI workload types on AKS: open-weight model serving, post-training and agents. Microsoft announced AKS AI Manager in public preview (model catalog, one-click deployment, playground), the DAX model cache, managed GPU node pools (GA) and further GPU options, then showed the post-training stack with KubeRay, Kueue (public preview), TauGrid and Anyscale, including a demo of post-training Qwen 3.5 on COBOL. Harvey AI described its agent sandbox architecture on AKS with Kata Containers, warm pools and a Blob proxy. Microsoft then presented Agent Grid, the Agent Sandbox extension (public preview), pod snapshot and restore, the Kata V2 runtime in Rust and Agent Substrate, demonstrated with a GitHub Copilot CLI agent using checkpoint and rollback.

Best for: Platform and ML engineers who run GPU workloads, post-training or isolated agent sandboxes on AKS or other Kubernetes.

Session timeline by chapter

New material starts at 08:36. The first 8.5 minutes are an introduction on Kubernetes adoption and the reasons for owning open-weight models; at 08:36 the announcements of AKS AI Manager, DAX and GPU improvements begin.

Where to skip: Skip to 08:36 for the announcements; the post-training demo at 18:46, Harvey's architecture at 28:18, the agent stack at 34:48, the Kata V2 deep dive at 38:48 and the sandbox rollback demo at 42:25 are the core. The intro (00:00–08:36), the recap at 22:10 and the closing can be skipped.

Chapters (14)

  1. 00:00 Recap Depth 100 · Novelty 0/3

    Introduction: why AI workloads run on Kubernetes and AKS, and the session agenda

    Jorge Palma introduces the speakers and cites CNCF and Gartner data on Kubernetes and generative AI adoption in production. He describes AI applications as distributed systems spanning accelerators, model servers, caches, networking and storage, for which Kubernetes provides a common API. He distinguishes three workload types (serving, training/post-training, agents) with different drivers: latency and cost, GPU utilization and fair sharing, and security, isolation and idle time. The agenda covers KAITO with vLLM and llm-d for serving, KubeRay for post-training, and secure agents with Harvey.

  2. 04:44 Recap Depth 100 · Novelty 1/3

    Why own open-weight models: cost, data residency, accuracy and portability

    Lachie Evenson frames the goal of building your own AI learning loop on AKS, backed by open source so it can run on-premises or on Azure. He argues model capabilities are getting cheaper and the gap between frontier and open-weight models is shrinking. Motivations for owning models are data ownership and residency in your own tenant, token-cost control, higher accuracy through domain-specific retraining, and the ability to run anywhere.

  3. 08:36 New Depth 200 · Novelty 3/3

    AKS AI Manager preview, DAX model cache and GPU fleet cost optimizations

    Microsoft announces AKS AI Manager in public preview: a catalog of open-weight models with one-click deployment to a secured endpoint plus a playground. DAX, a distributed accelerator for cloud storage built on Azure Storage, keeps a node-local cache of model layers across cluster nodes to cut pull and start times. GPU improvements include managed GPU node pools (now GA, handling driver lifecycle), mixed MIG partitions within node pools, Grace Blackwell support with NVLink and RDMA, and managed DRA net for RDMA networking.

  4. 12:37 Demo Depth 200 · Novelty 2/3

    Demo: deploying Qwen 3.5 to AKS with AKS AI Manager and testing in the playground

    Lachie deploys the open-weight Qwen 3.5 4B model to an AKS cluster through AKS AI Manager in the Azure portal. He creates a namespace, picks the model from the catalog, deploys it, and tests the endpoint in the playground with adjustable parameters such as temperature.

  5. 14:30 New Depth 300 · Novelty 2/3

    Post-training stack: KubeRay and Kueue managed extensions, Headlamp plugin, TauGrid, Anyscale

    Lachie explains retraining as teaching an open-weight model your business context. AKS offers a managed KubeRay extension (RayJob, RayService, RayCronJob resources) and a managed Kueue extension in public preview for quota-based, priority GPU sharing across teams, plus a Headlamp plugin to visualize scheduling and utilization. TauGrid, newly open-sourced, combines Kueue, KubeRay and GPU health metrics with a CLI and UI as one managed extension for retraining across AKS clusters. Anyscale on Azure, GA since October, adds enterprise multi-tenancy, workspaces and identity integration for Ray on AKS in the customer's tenant.

  6. 18:46 Demo Depth 300 · Novelty 2/3

    Demo: distributed post-training of Qwen 3.5 on COBOL with TauGrid, Ray and Kueue

    Lachie post-trains Qwen 3.5 on a COBOL corpus using the TauGrid examples from GitHub: a Ray job with 28 GPUs using DeepSpeed. The configuration is dry-run and deployed with the Tau CLI, monitored in the TauGrid UI and the Ray dashboard. Published results compare base, continued pre-training (CPT) and GRPO, with accuracy rising from 27% to 39%.

  7. 22:10 Q&A Depth 100 · Novelty 1/3

    Recap of serving and retraining; Q&A on running the stack outside Azure

    Lachie recaps serving with AKS AI Manager and retraining Qwen on COBOL, noting both must plug into an agentic platform. Answering an audience question, he says everything shown is on GitHub and runs on any conformant Kubernetes cluster on any cloud or on-premises, with AKS offering a supported experience on top of the open source.

  8. 23:59 Customer story Depth 200 · Novelty 1/3

    Harvey: AKS use cases and requirements for an agent sandbox platform

    Shanshan Song of Harvey AI explains that Harvey's compute, network and storage run entirely on Azure managed services, with three AKS use cases: Harvey Assistant, a Temporal-based workflow manager, and agent sandboxes. Sandbox requirements are multi-tenant isolation, fast start for interactive users, ephemeral per-turn sandboxes with no leftover state, elasticity for weekday-heavy bursty load, data governance and security, and full observability of agent actions.

  9. 28:18 Customer story Depth 300 · Novelty 2/3

    Harvey's sandbox architecture on AKS: Kata, warm pools, Blob proxy and key learnings

    Harvey isolates sandboxes on dedicated node pools with Kata Containers and disabled network egress, keeps a warm pool of pre-created sandboxes, autoscales, and uses Kubernetes controllers with declarative sandbox resources, building on the open-source Kubernetes Agent Sandbox project. A sandbox controller and router handle orchestration, models run outside the sandbox, and a Blob Storage proxy is the only egress path for data. Each turn restores the last snapshot, mounts inputs, runs the agent and tools, then snapshots. Learnings: decouple the harness from the sandbox, treat sandbox state as disposable while keeping transcripts and files durable, roll out incrementally, and expect the platform to evolve.

  10. 34:48 New Depth 300 · Novelty 3/3

    Agent architecture on AKS: Agent Grid, MCP filtering, Agent Sandbox and snapshot extensions

    Jorge maps Harvey's requirements to the AKS stack: a bring-your-own-harness approach, a routing layer with agent gateway and the newly announced Agent Grid that secures agent traffic with per-agent FQDN filtering and allow-listing of specific MCP servers. Agent Sandbox is now in public preview as a managed cluster extension, alongside a separate pod snapshot and restore extension kept modular so each works with other sandboxes. Both sit on Kata micro-VMs on AKS nodes or on Azure Container Instances virtual nodes, with Azure Storage for snapshots.

  11. 38:48 Deep dive Depth 400 · Novelty 2/3

    Kata v2 runtime in Rust, VM templating, Azure Disk support and warm-pool sandbox speeds

    Jorge details the Kata V2 runtime class, redesigned in Rust, reducing pod memory overhead from 600 MB to 32 MB and startup latency by 42% from a pre-initialized template via a new VM templating mechanism. Micro-VM sandboxes now support Azure Disk through virtio-block. Agent Sandbox adds warm pools of standby utility VMs plus pause, resume and storage primitives, starting a sandbox from a warm pool in 77 ms or from scratch in under 2 seconds; the snapshot and restore extension works on Kata and ACI runtimes.

  12. 42:25 Demo Depth 300 · Novelty 2/3

    Demo: GitHub Copilot CLI agent in an AKS sandbox with checkpoint and rollback

    Using the GitHub Copilot CLI as a coding agent, Jorge fixes an invoice rounding bug (issue 142) inside a claimed Agent Sandbox. Before a risky schema change dropping columns, a snapshot checkpoint is taken automatically and the human is prompted for authorization; after dropping legacy tables by mistake, the agent rolls back from the snapshot. Switching to an ACI serverless sandbox only requires changing the runtime class name.

  13. 45:20 New Depth 300 · Novelty 2/3

    Agent Substrate for control-plane scale, flex nodes and AKS bare metal at the edge

    Jorge describes control-plane bottlenecks when creating hundreds or thousands of sandboxes per second, tuned together with Harvey, and introduces Agent Substrate, installable on AKS today from github.com/azure/substrate-aks. He cites 28,000 agents in a cluster with 160 ms median resume time. All components run anywhere, including AKS flex nodes that connect any hardware to a cluster and AKS bare metal at the edge.

  14. 47:27 Closing Depth 100 · Novelty 0/3

    Wrap-up: efficient GPUs, low-latency serving and secure agents at scale

    Jorge summarizes the session: using and sharing GPUs more efficiently, serving with low latency and simplicity, protecting agent execution and running agents at scale. He thanks Shanshan and invites questions outside the room.

Announcements (17)

  • 09:05 public-preview Azure Kubernetes Service (AKS)

    AKS AI Manager

    Catalog of open-weight models with single-click deployment to a secured inference endpoint on AKS and a playground for testing.

    Speaker’s quote (at 09:05)
    „The way we do that is using a new feature that we announced in public preview here at Ignite, AKS AI Manager.“
  • 09:58 not stated Azure Kubernetes Service (AKS)

    DAX (distributed accelerator for cloud storage)

    Node-local cache built on Azure Storage that distributes model layers across AKS nodes for faster model pull and start times.

    Speaker’s quote (at 09:58)
    „So we've got a distributed accelerator for cloud storage that we've built on top of Azure storage that we deliver into AKS.“
  • 11:25 GA Azure Kubernetes Service (AKS)

    Managed GPU node pools

    AKS manages the GPU driver lifecycle and node infrastructure so workloads land on GPU nodes faster.

    Speaker’s quote (at 11:25)
    „we have managed GPU node pools that just went GA. So we'll take care of the driver lifecycle.“
  • 11:25 not stated Azure Kubernetes Service (AKS)

    Mixed MIG partitions

    Allows different mixed GPU partition SKUs within a single node pool.

    Speaker’s quote (at 11:25)
    „We have mixed MIG partitions, so we can actually have different mixed SKUs within node pools“
  • 12:01 not stated Azure Kubernetes Service (AKS)

    Managed DRA net

    Managed component providing RDMA networking to GPU workloads for maximum network performance.

    Speaker’s quote (at 12:01)
    „And in the top right, we have managed DRA net to make sure that you get RDMA and your GPU workloads to the utmost network performance“
  • 14:56 not stated Azure Kubernetes Service (AKS)

    KubeRay managed extension for AKS

    Installs KubeRay as a managed AKS extension supporting Ray jobs, services and cron jobs for distributed training and serving.

    Speaker’s quote (at 14:56)
    „So it has training, it has data, and it has serving. And it's actually delivered as a managed extension on AKS.“
  • 15:24 public-preview Azure Kubernetes Service (AKS)

    Managed Kueue extension for AKS

    Managed job queuing and scheduling that pools GPUs into shared quotas and admits jobs by team priority.

    Speaker’s quote (at 15:24)
    „Next in public preview we have the managed queue with a K, queue extension for AKS.“
  • 16:19 not stated Azure Kubernetes Service (AKS)

    Headlamp plugin for Kueue

    Plugin that visualizes Kueue scheduling and resource utilization on the cluster.

    Speaker’s quote (at 16:19)
    „we've actually delivered a plugin for queue, which allows you to visualize the scheduling as it's happened on your cluster and the resource utilization as well.“
  • 16:46 not stated Azure Kubernetes Service (AKS)

    TauGrid

    Open-source distributed training solution tying Kueue, KubeRay and GPU metrics together with a CLI and UI, packaged as a managed extension.

    Speaker’s quote (at 16:46)
    „What TauGrid is, is we've open sourced and introduced a distributed training with Q and KubeRay.“
  • 17:49 GA Azure Kubernetes Service (AKS)

    Anyscale on Azure

    Partner offering providing enterprise-ready Ray on AKS with multi-tenancy, data-science workspaces and identity integration with Azure.

    October

    Speaker’s quote (at 17:49)
    „I'd also like to mention AnyScale on Azure, which has been GA since October.“
  • 35:41 not stated Azure Kubernetes Service (AKS)

    Agent Grid

    Routing layer that routes and secures agent traffic at the network level, including per-agent FQDN filtering and allowing or blocking specific MCP servers.

    Speaker’s quote (at 35:41)
    „routing layer based out of things like agent gateway or our newly announced agent grid product, which basically allows you to not only route specific agent traffic“
  • 37:12 public-preview Azure Kubernetes Service (AKS)

    Agent Sandbox cluster extension for AKS

    Microsoft-managed extension of the open-source Agent Sandbox project providing sandbox APIs such as warm pools, pause and resume without self-installing via Helm.

    Speaker’s quote (at 37:12)
    „Then inside us, you're going to have things like Agent Sandbox, which is now in public preview as a cluster extension.“
  • 37:12 not stated Azure Kubernetes Service (AKS)

    Pod snapshot and restore extension

    Modular extension to pause, snapshot and restore sandboxes from memory, usable with any sandbox on Kata or ACI runtimes.

    Speaker’s quote (at 37:12)
    „Similarly, we also have a pod snapshot and restore extension. And once again, making use of this really important principle of modularity.“
  • 38:48 not stated Azure Kubernetes Service (AKS)

    Kata V2 runtime class

    Rust-based redesign of the AKS pod sandboxing runtime with lower memory overhead and faster micro-VM startup.

    Speaker’s quote (at 38:48)
    „we've actually came up with Cata V2 runtime class. So Cata's been out in AKS for quite some time, the pod sandboxing capability“
  • 39:40 not stated Azure Kubernetes Service (AKS)

    VM templating mechanism

    Clones new sandboxes from a pre-initialized template instead of booting micro-VMs from scratch.

    Speaker’s quote (at 39:40)
    „It's called a VM templating mechanism that allows us to start and pre-initialize instead of just booting from scratch.“
  • 40:07 not stated Azure Kubernetes Service (AKS)

    Azure Disk support for Kata sandboxes

    Lets micro-VM sandboxes use Azure Disk, surfaced securely via virtio-block.

    Speaker’s quote (at 40:07)
    „Now you can also use disk with it and have all the performance of Azure Disk.“
  • 45:52 not stated Azure Kubernetes Service (AKS)

    Agent Substrate

    Self-installable project for AKS that improves control-plane performance for very large numbers of agent sandboxes.

    Speaker’s quote (at 45:52)
    „we've also been working on agent substrate, which is something you can already use and install it yourself in AKS today“

Demos (3)

  • 12:37 You can try it yourself AKS AI Manager

    A platform team deploys an open-weight model (Qwen 3.5 4B) as an inference endpoint on AKS in a few clicks and tests it.

    Steps (6)
    1. In the Azure portal, open the resource group containing the AKS AI Manager resource (AIM1) and wait for it to move from Provisioning to Succeeded.
    2. Inside AI Manager, create a namespace (NS1) where models and endpoints are deployed and wait for it to succeed.
    3. Open NS1 and browse the model catalog.
    4. Select Qwen 3.5 4B and deploy it to AIM1 within the NS1 namespace.
    5. Open the playground, adjust model parameters such as temperature on the left.
    6. Send a test prompt to the endpoint from the playground.

    Prerequisites: Azure subscription with an AKS AI Manager resource deployed in a resource group; GPU capacity for the model is implied but not detailed.

  • 18:46 Not stated TauGrid on AKS

    An ML/platform team post-trains an open-weight model (Qwen 3.5) with domain data (COBOL) across GPUs on AKS and evaluates accuracy gains.

    Steps (8)
    1. Open the TauGrid examples repository on GitHub and locate the COBOL pre-training example.
    2. Review the job definition: a Ray job using Qwen 3.5 with 28 GPUs.
    3. Review the Python pre-training script using DeepSpeed and the Tau configuration specifying GPU count.
    4. Run a dry run of the configuration with the Tau CLI against the AKS cluster.
    5. Deploy the configuration to the cluster with the Tau CLI and check the created components.
    6. Monitor jobs and pods per Kubernetes node in the TauGrid UI.
    7. Open the Ray UI to observe the training job.
    8. Confirm the training completed and review the published results table comparing base, CPT and GRPO accuracy.

    Prerequisites: AKS cluster with GPU capacity (the example uses 28 GPUs), TauGrid with KubeRay and Kueue, the TauGrid examples repo from GitHub, and a training corpus.

  • 42:25 Not stated GitHub Copilot CLI with AKS Agent Sandbox

    A developer lets a coding agent fix a bug and perform risky database changes in an isolated sandbox, with automatic checkpoints that allow full rollback.

    Steps (7)
    1. Start from a finance report that invoices show $60 instead of $59.97 and create issue 142.
    2. In GitHub Copilot CLI, ask the agent to fix issue 142 in a sandbox; the agent claims a sandbox from Agent Sandbox and starts the micro-VM.
    3. Let the agent investigate and identify the faulty rounding function.
    4. Ask the agent to drop the columns that held wrong results; a snapshot checkpoint is taken automatically and the sandbox runs the risky operation with checkpoint set to true.
    5. Approve the human authorization prompt for the schema change.
    6. After legacy tables are dropped by mistake, ask the agent to roll everything back; it restores from the automatic snapshot.
    7. Tell the agent to use a serverless sandbox; it changes the runtime class to the ACI sandbox.

    Prerequisites: AKS cluster with the Agent Sandbox extension (public preview) and the pod snapshot and restore extension on Kata or ACI runtime; GitHub Copilot CLI configured to use the sandbox.

Watch on Microsoft’s site: BRK422