deploy-k8s-gpu-cluster

deploy-k8s-gpu-cluster is a skill for Claude Code, Codex from NVIDIA/deepops. It costs 47 tokens per session (692 once invoked), scanned A, original, BSD-3-Clause.

A deployment skill for building a Kubernetes cluster—a system that runs containerized applications—on servers with NVIDIA GPUs, using DeepOps automation.

In plain words
What is it for?
Setting up or rebuilding Kubernetes on Ubuntu, RHEL, or Rocky Linux GPU servers, then validating that pods can be scheduled with CUDA, NVIDIA's GPU computing platform.
Why use it?
It provides a documented process for preparing hosts, configuring the cluster, installing GPU support, and checking that GPU workloads can actually run.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/setup.sh.

Good fit Setting up or rebuilding Kubernetes on Ubuntu, RHEL, or Rocky Linux GPU servers, then validating that pods can be scheduled with CUDA, NVIDIA's GPU computing platform.

Compare 6 skills from other repositories ↓
About the project

DeepOps is a collection of automation tools for deploying and managing compute clusters that use NVIDIA GPUs with Kubernetes or Slurm. It supports environments ranging from full data-center clusters to individual machines needing GPU drivers, Docker, and NVIDIA container support.

NVIDIA/deepops · 1,479 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/NVIDIA/deepops
agentmods
npx agentmods add skills/nvidia/deepops/deploy-k8s-gpu-cluster

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deploy-k8s-gpu-cluster

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia/deepops/deploy-k8s-gpu-cluster/github.svg)](https://agentmods.dev/skills/nvidia/deepops/deploy-k8s-gpu-cluster)
Your own site
<a href="https://agentmods.dev/skills/nvidia/deepops/deploy-k8s-gpu-cluster"><img src="https://agentmods.dev/badge/skills/nvidia/deepops/deploy-k8s-gpu-cluster/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deploy-k8s-gpu-cluster

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia/deepops/deploy-k8s-gpu-cluster"><img src="https://agentmods.dev/badge/skills/nvidia/deepops/deploy-k8s-gpu-cluster.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 692 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00692
Opus 5.5 $0.00019 $0.00277
Sonnet 5.5 $0.00009 $0.00138
Haiku 4.5 $0.00005 $0.00069

Measured 1mo ago against content hash ba59b7e05365, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deploy-k8s-gpu-cluster scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/deploy-k8s-gpu-cluster/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deploy a Kubernetes GPU cluster

Preconditions

  • Ubuntu 22.04/24.04 or RHEL/Rocky 8/9 hosts you may fully manage (driver installs may reboot them; no active users or workloads).
  • SSH access from the provisioning machine to every host as a sudo-capable user.
  • submodules/kubespray initialized — Kubernetes playbooks fail on missing kubespray_defaults role imports without it.
  • Run everything from the repository root.

Procedure

  1. Prepare the environment and verify it:

    git submodule update --init --recursive
    ./scripts/setup.sh
    cp -r config.example config
    
  2. Edit config/inventory: control plane nodes under [kube_control_plane] and [etcd], workers under [kube_node] (a single machine can hold all three roles).

  3. Preflight — must pass before deploying:

    python3 scripts/validation/deepops_doctor.py --remote --json
    
  4. Deploy:

    ansible-playbook -l k8s_cluster playbooks/k8s-cluster.yml
    

    This runs Kubespray and installs the NVIDIA GPU Operator. Expect roughly 45–90 minutes on a first run.

  5. Validate — the success signal is this, not the play recap:

    python3 scripts/validation/validate_k8s.py --json --cuda-smoke
    

    Require "ok": true with nodes_ready == nodes_total, gpus_allocatable > 0, and cuda_smoke_ok: true.

Failure branches

  • Playbook fails on a transient error: rerun the same playbook; Kubespray is rerun-safe. A converged rerun reports changed=0.
  • Syntax/import error mentioning kubespray_defaults: the submodule is not initialized; run git submodule update --init --recursive.
  • gpus_allocatable: 0: the GPU Operator stack is not ready. Check kubectl get pods -A | grep -i nvidia — the driver DaemonSet can take 10+ minutes on first deploy; if pods are crash-looping, follow skills/diagnose-driver-install/.
  • CUDA smoke pod stuck Pending: kubectl -n deepops-validate describe pod deepops-validate-cuda — usually no allocatable GPU (see above) or an image pull problem on airgapped networks (use --cuda-image to point at a mirrored image).
  • Single-node clusters: control plane taints are handled by the playbook for the single-node case; if pods stay Pending on a multi-role node, check taints with kubectl describe node <name> | grep -i taint.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 73 lines · 47 tokens per session scan A ba59b7e05365

Subscribe to this mod's changes

deploy-k8s-gpu-cluster is a skill published in the GitHub repository NVIDIA/deepops (1,479 stars, last pushed today), licensed BSD-3-Clause. It adds 47 tokens to every session and 692 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

openshell-cli

Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, profile management, policy iteration, settings, service exposure, BYOC workflows, and attached-provider inference. Covers basic through advanced multi-step workflows. Trigger…

NVIDIA/OpenShell · 134 tokens

azd-deployment

Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.

sickn33/agentic-awesome-skills · 29 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

compute-env-setup

Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…

UnicomAI/wanwu · 134 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

atmos-helmfile

Helmfile orchestration: sync/apply/destroy/diff, Kubernetes deployments, declarative Helm plugins, varfile generation, EKS integration, source management.

cloudposse/atmos · 38 tokens