All skills
microsoft avatar

/airunway-aks-setup

@b3c238e
by microsoftmicrosoft/skills3.1k stars
351

Set up AI Runway on AKS — from bare cluster to running model. Covers cluster verification, controller install, GPU assessment, provider setup, and first deployment. WHEN: "setup AI Runway", "onboard AKS cluster", "install AI Runway", "airunway setup", "deploy model to AKS", "GPU inference on AKS", "KAITO setup on AKS", "run LLM on AKS", "vLLM on AKS", "set up model serving on AKS", "AI Runway controller".

Use this Skill: https://skilld.dev/gh/microsoft/skills/airunway-aks-setup

This session only. Nothing lands on disk.

referencesstepsstep-1-verify.md

≈493 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Step 1 — Cluster Verification

Goal: Confirm prerequisites are met, validate the cluster connection, and inventory available nodes and GPUs.

Prerequisites

Verify required CLI tools are available before proceeding:

# Check all required tools are installed
for tool in kubectl make curl; do
  command -v "$tool" >/dev/null 2>&1 && echo "✓ $tool found" || echo "✗ $tool NOT FOUND — install before continuing"
done

See powershell-notes.md for the PowerShell equivalent.

If any tool is missing, STOP and tell the user which tools to install before continuing.

Cluster Connection

# Confirm active context
kubectl config current-context

# Inventory all nodes
kubectl get nodes -o wide

GPU Detection

# Extract GPU count and model per node (requires NVIDIA device plugin labels)
kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.status.allocatable['\''nvidia.com/gpu'\'']}{"\t"}{.metadata.labels['\''nvidia.com/gpu.product'\'']}{"\n"}{end}'

Note: The above command relies on nvidia.com/gpu.product node labels, which are set by the NVIDIA device plugin or GPU operator. If the output shows empty GPU fields, try the fallback:

# Fallback: check node descriptions for GPU capacity
kubectl describe nodes | grep -A 5 "Allocatable:" | grep -i nvidia

If neither approach shows GPUs but you know the nodes have GPU hardware, the NVIDIA device plugin may not be installed yet. Guide the user to install it before proceeding.

Report to user:

  • Cluster context name
  • Total node count and GPU node count
  • Per GPU type: model, count, VRAM per card, total cluster VRAM

Decision logic:

  • No kubeconfig context → STOP. Tell user to configure kubeconfig (e.g., az aks get-credentials) and retry.
  • No GPU nodes detected → Note "CPU-only cluster" and proceed; CPU-only inference is available via KAITO + llama.cpp.

Source: SKILL.md on GitHub

No alerts15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill provides a structured walkthrough for setting up AI Runway on Azure Kubernetes Service (AKS). It includes cluster verification, controller installation, hardware assessment, and model deployment using standard tools like kubectl and make. The skill follows secure practices for handling HuggingFace tokens and manages infrastructure transparently within the user's provided Kubernetes context.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

Signed by skilld at b3c238e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
metadata
{
  "author": "Microsoft",
  "version": "1.1.1"
}
argument-hint
[skip-to-step N]

README badge

README badge for microsoft/skills/airunway-aks-setup