Generated banner for Physical AI Infrastructure Setup And Resilient Scaling
Generated logo for Physical AI Infrastructure Setup And Resilient Scaling

Physical AI Infrastructure Setup And Resilient Scaling

NVIDIAOfficialCreated by NVIDIA Physical AI

  • Skill
  • Workflow
  • Cloud and DevOps
  • Apache-2.0
  • Medium risk
  • Has scripts

From the author

Use when the user wants to set up, scale, validate, or harden NVIDIA physical AI infrastructure for synthetic data generation workflows across local MicroK8s or Azure AKS, including Kubernetes clusters, inference endpoint deployment, OSMO deployment, workload submission readiness, and infrastructure failure recovery. Trigger keywords: physical ai infrastructure, resilient scaling, SDG infrastructure, microk8s, azure aks, NVCF deployment, NIM Operator, OSMO deploy, workflow scaling. Don't trigger for: OSMO log summarization or workload-only operations unless infrastructure setup, scaling, validation, or recovery is requested.
— the description by NVIDIA Physical AI

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a comprehensive framework for deploying, scaling, and validating the infrastructure required for NVIDIA Physical AI synthetic data generation (SDG) workflows. It manages the lifecycle of Kubernetes clusters (MicroK8s or Azure AKS), OSMO orchestration, and inference backends (NIM Operator, NVCF, or Azure AI Foundry). The skill enforces strict preflight checks, reproducible configuration management, and systematic recovery procedures to ensure reliable workload execution.

What it does

  • Provisions and configures Kubernetes clusters on MicroK8s or Azure AKS.
  • Deploys and manages OSMO orchestration layers for workload submission.
  • Sets up inference endpoints using NIM Operator, NVCF, or Azure AI Foundry.
  • Executes mandatory preflight checks to validate infrastructure readiness.
  • Provides structured recovery paths for failed workflow states or infrastructure issues.
  • Ensures secure credential handling and environment-aware configuration.

When to use it

  • When setting up a new Physical AI SDG environment from scratch.
  • When scaling existing infrastructure to meet new workload demands.
  • When validating the health and readiness of cluster, inference, or OSMO components.
  • When troubleshooting and recovering from infrastructure or workflow deployment failures.

Advantages

  • Standardizes infrastructure deployment across different cloud and local environments.
  • Reduces configuration drift by using checked-in scripts and reproducible patterns.
  • Improves reliability through mandatory preflight and verification gates.
  • Provides a unified interface for complex multi-component stacks.

Usage examples

“Set up resilient Physical AI infrastructure for VDA on Azure AKS with NIM Operator.”
The agent will initiate the setup flow for Azure AKS, configure the necessary OSMO and NIM Operator components, run preflight checks, and prepare the environment for VDA workload submission.
“My MicroK8s cluster for SDG is failing to schedule jobs; help me validate and recover.”
The agent will guide you through the verification gates for the MicroK8s cluster, inspect OSMO pod status, check storage credentials, and identify the root cause of the scheduling failure.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/nvidia/physical-ai-infrastructure-setup-and-resilient-scaling/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip physical-ai-infrastructure-setup-and-resilient-scaling.zip -d .agents/skills

Documentation by NVIDIA Physical AI

Physical AI Infrastructure Setup And Resilient Scaling

Canonical skill for the Physical AI infrastructure stack. Use it to compose cluster, inference, OSMO, and workload stages into a reproducible Physical AI SDG environment, then keep the environment observable and recoverable.

Operating Rules

  • Read only the component references needed for the selected target. Do not load every component by default.

  • Keep the repo as the durable artifact. Fix checked-in config or scripts, then rerun. Do not recover a failed install with untracked one-off changes.

  • Run mutating cluster, OSMO, Helm, Terraform, or Azure operations through checked-in scripts when a script exists. Read-only diagnostics are allowed.

  • Stop at the first red gate. Fix the lowest owning layer in this order: config, script, then skill guidance.

  • Derive values from the environment when possible. Ask only for values that cannot be inferred, such as API keys, target choice, or quota tradeoffs.

  • Store secrets in ${REPO_ROOT}/.env. Cluster-derived values such as storage, database, Redis, and endpoint names come from Terraform outputs or platform queries, not .env.

  • Preflight means no deployed state: no cluster API, Terraform outputs, Helm releases, OSMO pools, or workflow state. Those belong to deploy/verify gates.

  • Never print, echo, or paste raw keys into commands, YAML, logs, or transcripts. Prefer credential handles, Kubernetes secretKeyRef, and runtime-only secret injection. Scan raw transcript exports with scripts/scan_transcript_secrets.py before sharing.

  • Use absolute paths. Derive repo root with git rev-parse --show-toplevel.

Component References

Each component lives inside this skill so the stack has one canonical trigger. Load the component reference only when the selected target needs that slice.

ConcernLoadAssets
Stage matrix and old driver notescomponents/driver/reference.mdNone
MicroK8s clustercomponents/cluster-microk8s/reference.mdcomponents/cluster-microk8s/scripts/, components/cluster-microk8s/runtimeclass-nvidia-runc.yaml
Azure AKS clustercomponents/cluster-azure/reference.mdcomponents/cluster-azure/scripts/, components/cluster-azure/terraform/
NIM Operator inferencecomponents/inference-nim-operator/reference.mdcomponents/inference-nim-operator/scripts/, components/inference-nim-operator/nims/
NVCF inferencecomponents/inference-nvcf/reference.mdcomponents/inference-nvcf/scripts/
Azure AI Foundry inferencecomponents/inference-azure/reference.mdcomponents/inference-azure/scripts/
MicroK8s OSMOcomponents/osmo-k8s/reference.mdcomponents/osmo-k8s/scripts/, upstream OSMO deploy scripts
Azure OSMOcomponents/osmo-azure/reference.mdcomponents/osmo-azure/scripts/, upstream OSMO deploy scripts plus Azure TF outputs
Azure access setupcomponents/azure-access/reference.mdNone
OSMO CLI and workflow operationscomponents/osmo-cli/reference.mdcomponents/osmo-cli/scripts/, components/osmo-cli/references/, components/osmo-cli/agents/, components/osmo-cli/tests/
OpenClaw Azure device logincomponents/openclaw-azure-login/reference.mdNone
OSMO CLI Support Files

The OSMO CLI component has second-level support files because its command and workflow surface is large. Load these directly only for the stated case.

FileRead when
components/osmo-cli/agents/workflow-expert.mdSpawning a workflow-generation or workflow-failure subagent.
components/osmo-cli/agents/logs-reader.mdSpawning a log summarization subagent for OSMO workflow failures.
components/osmo-cli/references/cli-commands.mdExact OSMO CLI flags, payloads, or command syntax are needed.
components/osmo-cli/references/workflow-spec.mdWorkflow YAML schema, credentials, outputs, or provider fields are needed.
components/osmo-cli/references/workflow-patterns.mdMulti-task, data dependency, Jinja, serial, or parallel workflow design is needed.
components/osmo-cli/references/advanced-patterns.mdCheckpointing, retry/exit behavior, or node exclusion is needed.
components/osmo-cli/tests/orchestrator-runtime-failure.mdValidating or debugging the OSMO orchestration review pattern.

Target Selection

Pick exactly one option per stage. Stage 2 follows stage 1.

  1. Kubernetes: MicroK8s or Azure

  2. OSMO: MicroK8s OSMO when Kubernetes is MicroK8s, Azure OSMO when Kubernetes is Azure

  3. Inference: NIM Operator, NVCF, Azure AI Foundry, or None

  4. Workload: Video Data Augmentation, Defect Image Generation, NuRec Carline Adaptation, NRE, NCore, Asset Harvester, or custom workflow YAML

Reject invalid combinations before provisioning:

ClusterNIM OperatorNVCFAzure AI Foundry
MicroK8syesyesno, Foundry requires Azure identities
Azureyesyesyes

For OpenClaw or any chat-only environment that cannot open a browser, read components/openclaw-azure-login/reference.md before Azure prerequisites. For any Azure target, read components/azure-access/reference.md before Azure component preflights.

Setup Flow

  1. Confirm target choices and workload compute requirements.

  2. Load the selected component references.

  3. Resolve prerequisites up front, including API keys, Azure access, caller CIDR, GPU quota, storage class, and OSMO login requirements.

  4. Run scripts/preflight.sh for every selected infrastructure component plus any OSMO CLI/workload preflight before provisioning; build the implementation plan from the results and stop on red preflight.

  5. Deploy Kubernetes first. Nothing else starts until the cluster gate is green.

  6. Deploy OSMO and inference after Kubernetes. These can proceed in parallel once the cluster exists, but workload submission waits for both selected gates.

  7. Submit the workload only after OSMO, storage credentials, compute pool, and selected inference endpoints are verified. For VDA, this includes preflight_credentials.sh, pre_submit_guard.py with resolved --set values, non-empty model-cache prefixes, and workflow-namespace endpoint smoke checks.

  8. Monitor through completion. On failed workflow state, inspect events and logs from components/osmo-cli/reference.md; do not resubmit blindly.

Inference Discovery

Avoid over-deploying expensive endpoints.

  1. Scan the chosen workflow spec and default values for endpoint references: *.osmo-nims.svc.cluster.local, api.nvcf.nvidia.com/*, *.inference.ai.azure.com, or *.cognitiveservices.azure.com.

  2. Map each reference to the selected backend:

    • NIM Operator: service name must match a directory under components/inference-nim-operator/nims/.

    • NVCF: function URL or function ID must be supplied by the environment.

    • Azure AI Foundry: endpoint name must be deployed through components/inference-azure/scripts/install.sh.

  3. If the workflow needs a capability the selected backend lacks, stop and report the mismatch. Do not silently substitute another model.

Verification Gates

Each stage has its own Verify section in the component reference. These gates are mandatory:

StageGate
KubernetesCluster API reachable, nodes Ready, GPU capacity advertised for GPU paths, and CPU+NVCF paths have runtimeclass/nvidia mapped to runc.
InferenceEvery endpoint referenced by the workload is reachable. NIM readiness uses /v1/health/ready; NVCF and Foundry still need task-specific authenticated checks.
OSMOOSMO pods Ready, pool ONLINE, port-forward watchdogs alive, storage credentials configured, and verify-hello workflow COMPLETED.
WorkloadSelected workload pre-submit guards pass before submit. osmo workflow query <id> reports COMPLETED and every task is green. Failed terminal states require events and logs before retry.

Resilient Scaling

  • Size the cluster from workload needs before provisioning. For Azure, check CPU and GPU quota for the selected VM families before terraform apply.

  • For NIM Operator, deploy only the NIMServices referenced by the workload. Each service pins GPU and model-cache storage for the lifetime of the cluster.

  • Keep OSMO storage URL schemes aligned with the active backend. Local MicroK8s uses MinIO, Azure uses Blob-backed configuration.

  • Treat Pending, Unknown, ImagePullBackOff, unbound PVCs, or 0 Ready replicas as layer failures. Investigate scheduling, storage, image credentials, and adjacent platform state before retrying the same command.

  • For long deploys or workflow watches, provide heartbeat updates with current state, elapsed time, last useful observation, and next check.

Workload Routing

  • Video Data Augmentation: use skills/physical-ai-video-data-augmentation/SKILL.md.

  • Defect Image Generation: use skills/physical-ai-defect-image-generation/SKILL.md.

  • NuRec carline adaptation: use skills/carline-adaptation/SKILL.md.

  • NRE, NCore, and Asset Harvester live in the canonical NuRec catalog listed in skills/INDEX.md.

  • Custom workload: submit the provided workflow YAML through OSMO after checking resource requests, image credentials, data credentials, and inference URLs.

Evaluation Prompts And Results

  • Positive trigger: "Set up resilient Physical AI infrastructure for VDA on Azure AKS with NIM Operator." Expected: use this skill.

  • Negative trigger: "Summarize recent OSMO workflow logs for this workflow ID." Expected: do not use this infrastructure setup skill unless the request also involves setup, scaling, validation, or recovery of the infrastructure stack.

Latest static review: 2026-05-26, description keywords match the expected routes above.

Files

components/driver/reference.md

Infrastructure Driver Notes

Setup the infrastructure needed to run NVIDIA physical AI synthetic data generation (SDG) workflows.

Infrastructure stack

This infrastructure skill covers the Kubernetes stack: OSMO for workflow execution plus an inference provider of choice. Kubernetes deployment may be a proper cluster like Azure Kubernetes Engine, or a single-node deployment like MicroK8s. Docker-only workflows are out of scope for this infrastructure skill; route those to the workload skill directly.

Full stack component selection

Pick exactly one option per component. The sub-skill handles its own layer — this root only sequences them.

1. Kubernetes

OptionSub-skillWhen
MicroK8s../cluster-microk8s/reference.mdLocal dev, single-node CPU+NVCF or GPU+NIM
Azure../cluster-azure/reference.mdProduction, multi-node, managed

2. Orchestration (OSMO)

Sub-skill is dictated by component selection in 1. Kubernetes.

Kubernetes ComponentSub-skillWhen
MicroK8s../osmo-k8s/reference.mdMicroK8s cluster
Azure../osmo-azure/reference.mdAzure AKS cluster

Both OSMO install paths leave a persistent port-forward on localhost:9000 — downstream skills (workload) rely on it and will not start their own.

OSMO storage is configured in-band by the upstream deploy script - all options run deploy-osmo-minimal.sh in the main OSMO repo which in turn runs configure-storage.sh.

3. Inference Provider

OptionSub-skillWhen
NIM Operator (in-cluster)../inference-nim-operator/reference.mdGPU in cluster; low-latency/air-gapped
NVCF (pre-deployed cloud)../inference-nvcf/reference.mdCloud inference, no cluster GPU budget; needs NVCF_API_KEY
Azure AI Foundry (serverless)../inference-azure/reference.mdAzure cluster, pay-per-token
None—Workflow does not need inference endpoints

4. Workload

Any skill exposing an OSMO workflow YAML can be submitted via osmo workflow submit. OSMO workflow YAMLs are largely portable across environments, with exception to those that may specify an inference provider.

OptionSkillNotes
Video Data Augmentation (VDA)skills/physical-ai-video-data-augmentation/SKILL.mdEnd-to-end SDG: augmentation + auto-labeling
Defect Image Generation (AOI)skills/physical-ai-defect-image-generation/SKILL.mdPCBA / metal / glass defect image generation: Day 0 from CAD (texture / good-image / structural-defect) or Day 1 from clean inspection images
NRE (Neural Reconstruction)nre (canonical: NVIDIA/nurec-skills)Train / render / export via NRE Docker CLI (covers 26.02 + 26.04)
NCore data conversionncore (canonical: NVIDIA/nurec-skills)Convert sensor datasets to NCore V4
NuRec carline adaptationskills/carline-adaptation/SKILL.mdAdapt USDZ reconstructions to new camera rigs
Asset Harvesterasset-harvester (canonical: NVIDIA/nurec-skills)3DGS asset extraction from NCore clips
Custom / external specany YAML pathosmo workflow submit /abs/path/spec.yaml --pool <pool>

Compatibility matrix

Not every option combines with every other — enforce these when picking:

ClusterNIM OperatorNVCFAI Foundry
MicroK8s✅✅❌ (Foundry requires Azure identities)
Azure✅✅✅

Deployment

Component Dependencies

  • 1. Kubernetes is required and blocks everything else.

  • 2. OSMO and 3. Inference Provider can be deployed in parallel once 1. Kubernetes is deployed. Deploy these two in parallel; gate everything downstream on their readiness.

  • 4. Workload: Workload will specify the compute requirements, the OSMO workflow spec, and any inference endpoints it needs. Ensure the compute requirements are available in OSMO prior to submission, and any inference endpoints are reachable.

Pipeline → inference requirement discovery

Over-deploying wastes GPUs and oversubscribes small pools. Derive the minimum set before running the inference stage:

  1. Scan the chosen pipeline spec's default-values + task args for URL-shaped references:

    • *.osmo-nims.svc.cluster.local → NIMService of that name (NIM Operator)

    • api.nvcf.nvidia.com/* → NVCF function ID

    • *.inference.ai.azure.com / *.cognitiveservices.azure.com → Foundry endpoint

  2. Pass the filtered set to the sub-skill: NIM_SERVICES="<a> <b>", the matching *_URL / function ID envs (NVCF), or install.sh --endpoint-name <name> (Foundry).

  3. If a required capability isn't in the chosen backend's catalog, STOP and surface — never substitute.

Decision prompt

Prompt for stages 1, 3, and 4 (stage 2 resolves from Kubernetes choice):

  1. Kubernetes: MicroK8s | Azure

  2. OSMO: Resolves based on 1. Kubernetes

  3. Inference Provider: NIM Operator | NVCF | Azure AI Foundry

  4. Workload: NuRec Carline Adaptation | Video Data Augmentation | Defect Image Generation | Custom spec (path)

Reject invalid cluster/inference pairs per the matrix. Custom spec → osmo workflow submit <path>.

Prerequisites

Each sub-skill owns its own prerequisites. Before provisioning anything, read the Prerequisites section of the SELECTED components, enumerate every selected preflight, run them (Azure targets first run components/azure-access/reference.md), then compile a single implementation plan. Resolve everything up front - don't prompt the user mid-deploy. Derive what you can (caller IP for allowed_cidr, subscription ID from az account show); TF outputs are deploy-time inputs, not preflight inputs.

Preflight is before flight: no cluster API, Terraform outputs, Helm releases, OSMO pools, or workflow state are expected. Stage deploy/verify gates check those after resources exist.

Workflow submit/query requires components/osmo-cli/reference.md; run its scripts/preflight.sh with the resolved prerequisites.

Prior to provisioning Kubernetes, collect compute requirements from the SELECTED workload skill. Check these compute requirements against the SELECTED environment before proceeding.

Prompt the user only for values you truly can't derive such as API keys.

Secrets should be stored in ${REPO_ROOT}/.env. Stage scripts source it via ${REPO_ROOT}/.env where REPO_ROOT is this repo's root.

Runtime Routing

If running under OpenClaw and any selected Azure stage needs az auth, read ../openclaw-azure-login/reference.md before resolving Azure prerequisites.

Verification gates (mandatory, per stage)

Each sub-skill has a Verify section — run it to completion before moving to the next stage.

After stageMust run + confirm
1. Kuberneteskubectl cluster-info, all nodes Ready. GPU paths: GPU capacity advertised (kubectl get nodes -o custom-columns=NAME:.metadata.name,GPU:'.status.allocatable.nvidia\.com/gpu'). CPU+NVCF paths: kubectl get runtimeclass nvidia -o jsonpath='{.handler}' returns runc.
2 InferenceEvery endpoint YOUR pipeline references is reachable. NIM /v1/health/ready should return 200. NVCF preflight treats any HTTP response other than 000 as endpoint reachability, while authenticated worker calls must still satisfy the task-specific response check. Foundry endpoint reachable with az cognitiveservices account keys list credential.
3 Orchestrationhelm status -n osmo-minimal osmo-minimal, kubectl get pods -n osmo-minimal, osmo pool list default ONLINE, port-forward watchdogs up (pgrep -f 'osmo-pf-watchdog:'), OSMO storage configured (osmo config show WORKFLOW, osmo config show DATASET, osmo credential list)
3 SmokeThe upstream deploy-osmo-minimal.sh runs verify.sh (verify-hello workflow) as its final step — verify-hello-N COMPLETED is the gate. CPU instances pass SKIP_GPU=1 to the deploy script. Re-run via "$OSMO_DIR/deployments/scripts/verify.sh" (where $OSMO_DIR=$HOME/.cache/physical-ai/osmo). This catches backend-operator / storage mis-wires before any pipeline runs — do not skip.
4 Workloadosmo workflow query <id> → COMPLETED with every task green. FAILED/CANCELLED/TERMINATED → osmo workflow events + osmo workflow logs, NOT "retry and hope".

Failing gate → AGENTS.md rule 5 (Stop on red gate) + rule 4 (Config > Script > Skill).

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs an API key, Needs Node.js

The author says: Requires the selected component prerequisites, usually kubectl plus either MicroK8s or Azure CLI/Terraform, and OSMO or inference credentials for the chosen target.

Security

What our scanner noticed· Medium risk

  • Large base64-encoded blobs
  • Instructions that use the network
  • Scripts that your agent may run

This skill includes scripts that your agent may run. Read them before you use it.

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
NVIDIA Physical AI
Publisher
NVIDIA (Official)
Source
NVIDIA/skills · skills/physical-ai-infrastructure-setup-and-resilient-scaling · commit fce3cca
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE-APACHE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Also distributed in
openai/plugins

AutoGineer is not affiliated with or endorsed by NVIDIA Physical AI or NVIDIA.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download physical-ai-infrastructure-setup-and-resilient-scaling.zip