# Introduction

Source: https://argoctl-docs.pages.dev/docs

> argoCTL turns a rack of bare-metal servers into a Kubernetes cluster serving GPU inference, from one site file.

> **Using an AI agent?** Give it the setup instructions at https://argoctl-docs.pages.dev/agent-instructions.md, or https://argoctl-docs.pages.dev/llms.txt, which lists every docs page as Markdown.

argoCTL is the command-line tool from Argo Compute for building and running AI infrastructure on your own hardware. It is a single static binary, `argoctl`, that runs on your site's **management server** ("mgmt", Ubuntu 24.04 x86_64). From one declarative **site file** it:

- talks **Redfish** to every server's BMC: checks logins, virtual media, Secure Boot and power;
- runs **Ironic** in Docker on mgmt and installs **Ubuntu 24.04** on every server over Redfish virtual media, with **static IPs** (no DHCP or PXE anywhere);
- builds a **Kubernetes** cluster with kubeadm and **Cilium**, enables the GPUs with the **NVIDIA GPU Operator**, and qualifies the result with a set of checks;
- inspects the hardware and tells you **which models fit and how** (replicas, tensor parallel, pipeline parallel);
- deploys **vLLM** model servers with an OpenAI-compatible API.

## The lifecycle

Every step is one command, reads the same site file, and is safe to run again: a re-run of a finished step reports `nothing to change`, and a re-run of an interrupted step picks up where it stopped.

| Step | Command | What happens |
|---|---|---|
| 1. Validate | [`argoctl site validate`](https://argoctl-docs.pages.dev/docs/reference/cli/site-validate) | Parses the site file and reports every problem with its line, column and fix. |
| 2. Preflight | [`argoctl preflight`](https://argoctl-docs.pages.dev/docs/reference/cli/preflight) | Boots each server from a small test image over virtual media to prove the BMC, network and Secure Boot are ready, then restores the BMC. |
| 3. Analyse | [`argoctl analyse`](https://argoctl-docs.pages.dev/docs/reference/cli/analyse) | Inventories CPUs, memory, GPUs, interconnect and storage, and lists the models you can serve and how. |
| 4. Provision | [`argoctl ironic install`](https://argoctl-docs.pages.dev/docs/reference/cli/ironic-install), [`argoctl provision`](https://argoctl-docs.pages.dev/docs/reference/cli/provision) | Runs Ironic on mgmt and installs Ubuntu on every node with its static network configuration and SSH keys. |
| 5. Create cluster | [`argoctl create cluster`](https://argoctl-docs.pages.dev/docs/reference/cli/create-cluster), [`argoctl verify cluster`](https://argoctl-docs.pages.dev/docs/reference/cli/verify-cluster) | Host profile, kubeadm, Cilium and the GPU Operator, then the cluster checks. |
| 6. Deploy inference | [`argoctl deploy inference`](https://argoctl-docs.pages.dev/docs/reference/cli/deploy-inference) | Installs vLLM with Helm, waits for the model to load and prints the endpoint. |

```bash title="On mgmt"
argoctl site validate /etc/argoctl/site.yaml
sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl preflight /etc/argoctl/site.yaml
sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl analyse /etc/argoctl/site.yaml
sudo argoctl ironic install /etc/argoctl/site.yaml
sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl provision /etc/argoctl/site.yaml
sudo argoctl create cluster /etc/argoctl/site.yaml
sudo --preserve-env=HF_TOKEN argoctl deploy inference /etc/argoctl/site.yaml --model Qwen/Qwen3-8B --hf-token-env HF_TOKEN
```

## Design principles

- **One source of truth.** The site file describes networks, the management server, BMC credentials (by reference, never inline), the OS image and the nodes. Every command reads it; nothing is configured by hand.
- **Check before changing.** Each command validates everything it can before it touches a server, and stops with nothing changed if a check fails.
- **Idempotent and resumable.** Commands converge the site to the site file. Re-running is the way to retry, resume or confirm health.
- **Errors you can act on.** Every failure ends with numbered **To fix** steps, with the exact commands to run, and the path of a full run log.
- **Secrets stay secret.** Passwords and tokens are read from environment variables or root-only files, and are redacted from every log and report.
- **Pinned versions.** The binary decides exactly which Ironic, Kubernetes, Cilium, GPU Operator and vLLM versions run. See [Versions](https://argoctl-docs.pages.dev/docs/reference/versions).

## Next steps

- [Quickstart](https://argoctl-docs.pages.dev/docs/quickstart): From an empty management server to a serving endpoint.

- [Installation](https://argoctl-docs.pages.dev/docs/installation): Install argoctl with one command, or copy it over manually.

- [Site file](https://argoctl-docs.pages.dev/docs/site-file): Describe your site: networks, BMCs and nodes.

- [Deploy inference](https://argoctl-docs.pages.dev/docs/guides/deploy-inference): Analyse the hardware, build the cluster and serve a model.
