/deploy-dell-ap:deploy-dell-apfrom deploy-dell-ap
Interviews the user for topology, SSH access, DNS, and registry details, then provisions an RKE2 Kubernetes cluster with optional Harbor registry and deploys the Dell Automation Platform bundle on Linux hosts.
Ships in deploy-dell-ap. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill drives an end-to-end Dell Automation Platform (DAP) install using the ap-tools script in
this repository. It is environment-agnostic — it makes no assumption about your hypervisor or cloud.
You bring a Linux host (or hosts) and DNS; the skill does the rest.
ap-tools runs as root on the target host itself. If you (the agent) are working from a different
machine, SSH into the target to run each step.
Before the first intake question, give the user a quick orientation so they know what they are signing up for. Surface these three things up front (details in the linked references):
1. The phases you will run (what actually happens, in order):
| # | Phase | What runs | Where | Rough time |
|---|---|---|---|---|
| – | (optional) DNS server | install dns-server — only when the user has no DNS for the required records; seeds them from DNS_DAP_IP & co. | a separate small host (never an RKE2 node) | 2–5 min |
| 0 | Preflight | scripts/preflight.sh (OS/CPU/RAM/disk/DNS) | every node | seconds |
| 1 | RKE2 cluster | install rke2 (+-tls-san multi-node) | first node | 5–15 min |
| 2 | Registry | install harbor or point at an external registry | first node / external | 0–10 min |
| 3 | Join nodes (multi-node) | join server … on each extra node | nodes 2..N | 2–5 min/node |
| 4 | Stage DAP bundle | install ap-bundle -registry … (writes ap-install-upgrade-cmd.txt) | a control-plane node | 5–40 min (download) |
| 5 | Deploy DAP | run install-upgrade.sh from that file | same node | 20–40 min |
| 6 | Verify | nodes/pods/portal smoke (don't trust exit 0) | from any node | minutes |
| 7 | (optional) DDPC add-on | install ddpc-bundle [-registry …] then run ddpc-install-upgrade-cmd.txt | same node as 4/5 | 10–25 min |
2. The hard prerequisites (the install aborts without them — see reference/prerequisites.md
and reference/dns-and-certs.md): the right-sized host(s); the four DNS records
(portal. / orchestrator. / mtls-orchestrator. / mtls-recovery-orchestrator.) resolving before phase 4
(no DNS server? ap-tools install dns-server on a separate host creates them — see
reference/dns-and-certs.md);
a reachable OCI registry; accurate NTP; and — if you connect over SSH with a password — sshpass on your
(controller) machine. Offer to install it (apt-get install -y sshpass / dnf install -y sshpass); with an SSH
key you don't need it.
3. What to build if the host(s) don't exist yet (you provision these — the skill does not):
| Topology | Build | Per-node size | Extra |
|---|---|---|---|
| Single-node | 1 VM, static IP | 18 vCPU / 36 GB / 1 TB (18/34/850 allocatable floor) | 4 DNS records → host IP |
| Multi-node (3) | 3 VMs, static IPs | 16 vCPU / 20 GB / 850 GB+ each | + 1 free ingress VIP IP (not a node IP); DNS split (see below). DAP applies its 850 GB storage gate per node. |
| All-in-one | 1 VM | 20 vCPU / 40 GB / 1 TB | co-locates Harbor+SeaweedFS |
STOP. Collect every input listed in intake.md before taking any action. Ask the user directly, one group at a time. Do not assume defaults for host addresses, DNS names, or credentials — if something is missing, ask.
bash scripts/preflight.sh --dns portal.<domain>,orchestrator.<domain>,mtls-orchestrator.<domain>,mtls-recovery-orchestrator.<domain> [--multi-node]
It checks OS support, CPU/RAM/disk, and DNS resolution, and exits non-zero on any gap.Never skip RKE2 first. The exact flags and env vars are in reference/commands.md — read it; do not guess flag names.
BASE_DOMAIN=<domain> DNS_DAP_FQDN=<host-or-cluster fqdn> DNS_DAP_IP=<host IP | ingress VIP> [DNS_DAP_NODE_IPS="<node IPs>"] [DNS_REGISTRY_IP=…] [DNS_SWFS_IP=…] [DNS_FORWARDERS=…] DNS_ADMIN_PASSWORD=<ref> install dns-server, then point every
DAP/registry host at it (config static-ip … -dns <dns-host-ip>) and confirm getent hosts portal.<fqdn> resolves.
Details in reference/dns-and-certs.md ("Option B").install rke2 (add -tls-san <cluster-name> for multi-node; set CLUSTER_TYPE=multi-node
and, for a dedicated ingress VIP, LB_IP=<vip> — see the multi-node box below).install harbor on this host, or point at an external registry you run. If the
registry already holds the RKE2 images, pass -registry to install rke2; if it already holds the DAP
images, set SKIP_IMAGES_LOADER=true at phase 4 so the bundle step doesn't re-push them.install ap-bundle -registry <host:port> <user> <pass> — stages the bundle.
Multi-node: pass HOST_FQDN=<cluster-name> so the portal/orchestrator FQDNs match the DNS you created
(see the box below) — otherwise the DNS pre-flight checks portal.<hostname> and aborts.install-upgrade.sh from the generated ap-install-upgrade-cmd.txt — this is what actually
deploys DAP (20–40 min). It inherits EO_HOST/PORTAL_HOST from the HOST_FQDN you set in step 4.install ddpc-bundle [-registry <host:port> <user> <pass>], then run the command in
ddpc-install-upgrade-cmd.txt. See "Optional add-ons" below.The single thing that most often breaks a multi-node install is conflating two different addresses:
LB_IP) — fronts the portal/orchestrator HTTPS only, via MetalLB. This is the only
VIP ap-tools manages. portal. / orchestrator. / mtls-* DNS point here.-tls-san) — the Kubernetes API. ap-tools does NOT load-balance the API server.
This name must resolve to the node IPs (e.g. 3 A records, one per node), or to your own external LB — never
to the ingress VIP. Joining nodes connect to the API, so a cluster name pointing at the ingress VIP fails the join.So a 3-node cluster needs a DNS split (full example in reference/dns-and-certs.md):
| Name | Resolves to | Used by |
|---|---|---|
portal.<cluster> / orchestrator.<cluster> / mtls-orchestrator.<cluster> / mtls-recovery-orchestrator.<cluster> | ingress VIP (LB_IP) | DAP UI / device mTLS |
<cluster> (the bare -tls-san name) | the node IPs (round-robin) | Kubernetes API |
Then: phase 1 install rke2 -tls-san <cluster> with CLUSTER_TYPE=multi-node LB_IP=<vip>; phase 3 join server <first-node-IP> <token> -tls-san <cluster>; phase 4 HOST_FQDN=<cluster> install ap-bundle ….
install ap-bundle does NOT deploy DAP. It stages the bundle and writes
ap-install-upgrade-cmd.txt. You must then run the install-upgrade.sh command in that file.echo $?.install ap-bundle. Its pre-flight aborts if the portal / orchestrator /
mtls- records don't resolve. Multi-node: it derives them from HOST_FQDN, so set
HOST_FQDN=<cluster-name> (step 4 above). No DNS server at all? install dns-server on a separate host
seeds exactly these records. See reference/dns-and-certs.md.LB_IP fronts only the portal/orchestrator. The -tls-san
cluster name must resolve to node IPs and you join via a node IP — see the multi-node box above.ap-tools gates on 34 GB allocatable); 16 GB/node
wedges the Orchestrator. DAP 2.1.1.3 also enforces 850 GB of allocatable ephemeral-storage per node —
provision 1 TB, since allocatable sits below the raw filesystem size and a 500 GB host passes the older
docs and then fails Dell's own check mid-install. A node provisioned at exactly the floor reports ~1 GB
less (firmware/kernel reserve); the preflight tolerates that. See
reference/prerequisites.md.dap-deploy-template.env — a fill-in-the-blank worksheet for every intake answer; offer it to the user to collect requirements (no secret values).
reference/prerequisites.md — host sizing, supported OS, what YOU must provision (this skill does not create infrastructure).
reference/dns-and-certs.md — required DNS records, the mtls- rule,
the wildcard option, -tls-san, trusting the registry CA.
reference/topology.md — single vs multi-node decision and the join model.
reference/registry.md — ap-tools Harbor vs an external registry, and the project list an external registry must have.
reference/commands.md — the full ap-tools CLI contract.
reference/troubleshooting.md — failure tree, top-down.
After install-upgrade.sh reports Installation has completed successfully, confirm the platform is
actually up before telling the user "done":
Ready: kubectl get nodesRunning/Completed, none CrashLoopBackOff: kubectl get pods -Ahttps://<portal-fqdn> and serves a login page.administrator / Temporary@123 works and forces a password change.None of these are required to deploy DAP, and DAP never consumes them at install time — install them only if the user asks, and only after the platform is verified up. The full flags are in reference/commands.md.
install ddpc-bundle — stages the Dell Distributed Private Cloud (DDPC) add-on bundle (~6 GB), which
installs into the running DAP orchestrator (same cluster, same namespace) and adds the DDPC services and
UI to it. It mirrors install ap-bundle: pre-checks (API + nodes Ready, native-edge-orchestrator and
dap-portal releases deployed, DAP version exactly DDPC_REQUIRED_DAP_VERSION (default 2.1.1.3),
no unhealthy platform pods, ORCHESTRATOR_FQDN served by the orchestrator ingress, registry reachable,
unrequested CPU/memory headroom, free disk, NTP), downloads + extracts the bundle, and writes
ddpc-install-upgrade-cmd.txt — you must then run that command (it does not deploy DDPC by itself).
-registry is optional: given, the 19 DDPC images are pushed with those credentials; omitted, the
orchestrator's docker-secret registry is reused. Prerequisite: DAP verified up. Optional pre-check from the
skill: bash scripts/preflight.sh --ddpc --dns orchestrator.<domain> on the DAP node. Verify afterwards with
helm ls -n dell-orchestrator (dell-distributed-private-cloud deployed) and the new pods Running.install swfs — a single-node SeaweedFS instance (S3 / Filer, optional SMB/NFS) for artifact
storage, e.g. day-2 blueprint artifacts. Standalone — DAP does not depend on it. Can run on this host
or a separate one.install velero — cluster backups via Velero with Longhorn CSI snapshots. Needs an S3 endpoint
(VELERO_S3_URL / VELERO_S3_ACCESS_KEY / VELERO_S3_SECRET_KEY) — a SeaweedFS S3 bucket is the
intended backend, so this typically follows install swfs. Multi-cluster: give each cluster its own
bucket — set VELERO_BUCKET=<cluster-id> (and CLUSTER_NAME to match). The installer prints a warning if
VELERO_BUCKET is left at the default velero while CLUSTER_NAME is customised. Pre-create the buckets
on SeaweedFS with EXTRA_BUCKETS="<id1> <id2> …" on install swfs.install monitoring — kube-prometheus-stack + Fluent Bit. Requires MONITORING_HOST (the shared
SeaweedFS host running Loki/Grafana/Prometheus). Multi-cluster: set CLUSTER_NAME=<cluster-id> so
this cluster's metrics and logs are labelled and can be filtered apart from other clusters in Grafana/Loki.Suggested order when used: install swfs any time after rke2; install ddpc-bundle, velero and
monitoring after DAP is verified up.
install dns-server can stand up the zone and records on a
host you provide.ap-tools script itself.dap-deploy-template.env (opens in a new tab)intake.md (opens in a new tab)reference/commands.md (opens in a new tab)reference/dns-and-certs.md (opens in a new tab)reference/prerequisites.md (opens in a new tab)reference/registry.md (opens in a new tab)reference/topology.md (opens in a new tab)reference/troubleshooting.md (opens in a new tab)scripts/preflight.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub chubtoad5/automation-platform-tools --plugin deploy-dell-apOther plugins' skills for the same job