deepops
AGENTS.md1.5k starsChanged 5 months agoBSD-3-ClauseView on GitHub
This file is the entry point for AI agents (and new humans) operating this repository. DeepOps deploys and manages GPU clusters — Slurm or Kubernetes on NVIDIA GPU servers — using Ansible. Everything here is driven by playbooks against an inventory you control; there is no server component. Load only what the task needs: this file for orientation and the golden paths, docs/ for depth, skills/ for step-by-step procedures with failure handling. The doctor must report "ok": true (or you…
Trending
Quiet since June.about the whole repository
Who's talking about NVIDIA/deepops
- kubeflow/kubeflow“Add support to display different GPU types, specifically NVIDIA Multi-Instance GPUs”GitHub · Oct 8, 2020 · 6 reactions
- kubeflow/website“Really need a Kubeflow Ecosystem Section to the Website, (Note list is attached I found who are in the …”GitHub · Jun 28, 2020 · 4 reactions
- PyTorchKR/landscape“[Add] NVIDIA DeepOps (NVIDIA/deepops)”GitHub · Jun 6, 2026
- glotzerlab/hoomd-blue“Allow dynamic loading of slurm_conf on Anvil.”GitHub · Jul 19, 2024
- hashicorp/vagrant“Error with provider libvirt”GitHub · Mar 24, 2024
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub (23 times).
On GitHub · 23
- Oct 8, 2020Add support to display different GPU types, specifically NVIDIA Multi-Instance GPUs — kubeflow/kubeflow6 reactions · 13 comments
- Jun 28, 2020Really need a Kubeflow Ecosystem Section to the Website, (Note list is attached I found who are in the Ecosystem) — kubeflow/website4 reactions · 11 comments
- Jun 6, 2026[Add] NVIDIA DeepOps (NVIDIA/deepops) — PyTorchKR/landscape0 reactions
- Jul 19, 2024Allow dynamic loading of slurm_conf on Anvil. — glotzerlab/hoomd-blue0 reactions
- Mar 24, 2024Error with provider libvirt — hashicorp/vagrant0 reactions · 1 comment
18 more on GitHub
- Aug 13, 2023Set HPA(Horizontal Pod Autoscaler) of Triton Inference Server with Prometheus metric — MrSyee/SAM-remove-background0 reactions
- Apr 4, 2023Configuration issues with containerd failing Kubespray install with "unknown service runtime.v1alpha2.ImageService" error — kubernetes-sigs/kubespray0 reactions · 6 comments
- Nov 10, 2022Prometheus metric gpu_capacity is not found. — NTHU-LSALAB/KubeShare0 reactions · 4 comments
- Feb 26, 2022SLURM gpus-per-task issue — NVIDIA/pyxis0 reactions · 5 comments
- Sep 5, 2021feature(GPU): kubespray install NVIDIA GPU — k8sli/kubeplay0 reactions · 1 comment
- Aug 12, 2021Ensure systemd unit reloaded when restarting — NVIDIA/ansible-role-nvidia-docker0 reactions
- May 18, 2021Super huge log messages from journald - misconfigured filter_concat? — kokuwaio/helm-charts0 reactions · 2 comments
- Mar 22, 2021Add var to allow skipping reload of Docker daemon — NVIDIA/ansible-role-nvidia-docker0 reactions
- Dec 18, 2020Multiple Pods stucks in CrashLoopBackOff — kubeflow/kubeflow0 reactions · 9 comments
- Oct 19, 2020Update PPA URL — DeepOps/ansible-maas0 reactions
- Oct 7, 2020enroot-nsenter: failed to create user namespace: Invalid argument — NVIDIA/enroot0 reactions · 2 comments
- Aug 20, 2020Istio Dex Manifest v1.0.2 is "Unable to fetch Nodes", centraldashboard throwing 504 — kubeflow/community-distribution0 reactions · 2 comments
- Jul 16, 2020Multi-GPU workloads hang in Jupyter Notebooks launched through Kubeflow — kubeflow/kubeflow0 reactions · 3 comments
- Jun 16, 2020update_ood_portal may not work on Ubuntu — OSC/ood-ansible0 reactions · 1 comment
- May 18, 2020details = "failed to connect to all addresses" in "helm" module — ansible/ansible0 reactions · 8 comments
- Jan 22, 2020Failed to fetch https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/index.yaml : 403 Forbidden — prometheus-operator/kube-prometheus0 reactions · 4 comments
- Sep 14, 2019ambassador always CrashLoopBackOff — kubeflow/kubeflow0 reactions · 8 comments
- Aug 9, 2019"Copy kubectl binary to ansible host" sometimes fails with memory error due to known issue with 'fetch' module. — kubernetes-sigs/kubespray0 reactions · 8 comments
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository6 other files it gives its agents.
- deploy-airgappedSkill
- deploy-k8s-gpu-clusterSkill
- deploy-slurm-clusterSkill
- diagnose-driver-installSkill
- provision-with-maasSkill
- validate-gpu-clusterSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 63
Validate, don't assume: Run the doctor before deploying and the matching validator after.
- Very specific: line 89
Ansible fact caching can serve stale facts: when an inventory hostname is reused for a different machine or after an OS reinstall.
- Very specific: line 103
Run before pushing: git diff --check, YAML parse on changed files, ./scripts/deepops/ansible-lint-roles.sh, and a focused ansible-playbook …
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DeepOps agent operating guide
This file is the entry point for AI agents (and new humans) operating this repository. DeepOps deploys and manages GPU clusters — Slurm or Kubernetes on NVIDIA GPU servers — using Ansible. Everything here is driven by playbooks against an inventory you control; there is no server component.
Load only what the task needs: this file for orientation and the golden
paths, docs/ for depth, skills/ for step-by-step procedures with failure
handling.
Repository map
| Path | Purpose |
playbooks/ | Entry points. slurm-cluster.yml and k8s-cluster.yml are the two top-level cluster deploys; subdirectories hold component playbooks. |
roles/ | Ansible roles (NVIDIA drivers, container toolkit, DGX software, monitoring, Slurm, storage). |
config.example/ | Template configuration. Copy to config/ and edit; never edit config.example/ for a deployment. |
config/ | Your site configuration and inventory (git-ignored; created by you). |
scripts/validation/ | Machine-readable preflight and post-deploy validation. Start here to know if anything worked. |
scripts/ | Setup and helper scripts (setup.sh installs Ansible and dependencies). |
submodules/kubespray | Kubernetes deployment engine. Must be initialized before Kubernetes work. |
docs/ | Topic documentation: deepops/, slurm-cluster/, k8s-cluster/, container/, airgap/. |
skills/ | Reusable agent procedures with preconditions, commands, expected output, and failure branches. |
First-time setup (once per provisioning machine)
git submodule update --init --recursive
./scripts/setup.sh # installs Ansible + Galaxy dependencies
cp -r config.example config # then edit config/inventory
python3 scripts/validation/deepops_doctor.py --json # verify before deployingThe doctor must report "ok": true (or you must understand every failure)
before you run any cluster playbook. With --remote it also proves SSH
reachability to every inventory host.
Golden path: Slurm GPU cluster
# inventory groups: slurm-master, slurm-node (see config.example/inventory)
ansible-playbook -l slurm-cluster playbooks/slurm-cluster.yml
python3 scripts/validation/validate_slurm.py --json # run on a cluster nodeThe validator must report "ok": true with gpu_job_ok: true. See
skills/deploy-slurm-cluster/ for the full procedure and failure branches.
Golden path: Kubernetes GPU cluster
# inventory groups: kube_control_plane, etcd, kube_node (see config.example/inventory)
ansible-playbook -l k8s_cluster playbooks/k8s-cluster.yml
python3 scripts/validation/validate_k8s.py --json --cuda-smokeThe validator must report "ok": true with cuda_smoke_ok: true. See
skills/deploy-k8s-gpu-cluster/ for the full procedure and failure branches.
Rules for operating this repository
- Validate, don't assume. Run the doctor before deploying and the
matching validator after. A playbook finishing with
failed=0is not the success signal; the validator's"ok": trueis. - Never run a cluster playbook against an unreviewed inventory. These
playbooks install drivers, change container runtimes, and can reboot
machines. Confirm the inventory lists exactly the intended hosts
(
ansible-inventory --list, or the doctor's host count) first. - Driver installs can reboot nodes. Schedule accordingly; never point a first-time deploy at hosts with active users or workloads.
- Preview when unsure.
ansible-playbook --check --diff -l <host>shows most pending changes without applying them (some tasks don't support check mode). Use--limitto scope any run. - Playbooks are idempotent; reruns are the normal recovery path. After a
transient failure (package mirror timeout, network blip), rerun the same
playbook. A converged rerun reports
changed=0. - Configuration lives in
config/, not in role defaults. Override variables inconfig/group_vars/; do not edit roles for site-specific values.
Gotchas that look like failures but are not
nvidia-smiover SSH reports "No devices were found" on Slurm nodes. DeepOps hides GPUs from ordinary SSH sessions on cluster nodes; GPUs are visible inside Slurm jobs. Test withsrun --gpus=1 nvidia-smi, orvalidate_slurm.py, never with bare SSHnvidia-smi.- Ansible fact caching can serve stale facts when an inventory hostname
is reused for a different machine or after an OS reinstall. Rerun with
--flush-cache. - Open vs proprietary NVIDIA kernel modules matter per GPU generation.
Turing and newer support the open kernel modules; older GPUs (e.g. Pascal)
need
nvidia_driver_ubuntu_use_open_kernel_modules: false. A wrong choice producesnvidia-smi: No devices were foundafter a clean-looking install. Seeskills/diagnose-driver-install/. - Kubernetes playbooks fail on syntax/imports if
submodules/kubesprayis not initialized — the error mentions missingkubespray_defaultsroles, not submodules. Rungit submodule update --init --recursive.
Contributing changes
Run before pushing: git diff --check, YAML parse on changed files,
./scripts/deepops/ansible-lint-roles.sh, and a focused
ansible-playbook --syntax-check for changed playbooks. Public CI runs lint,
setup, and molecule checks on every PR. Deployment-affecting changes need
GPU-backed validation evidence in the PR body.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

