# Files and ports

Source: https://argoctl-docs.pages.dev/docs/reference/files-and-ports

> Every file and directory argoCTL uses on the management server and the nodes, and every port it listens on.

## On mgmt

| Path | Owner, mode | What |
|---|---|---|
| `/usr/local/bin/argoctl` | root, 0755 | The binary. |
| `/opt/argoctl/releases/argoctl-<version>-x86_64-linux/` | root | Unpacked release bundles: `bin/`, `share/preflight/`, `VERSION`, `SHA256SUMS`. |
| `/etc/argoctl/site.yaml` | your choice | The site file (conventional location; any path works). |
| `/etc/argoctl/ironic/` | root, 0700 | Ironic's generated secrets and `compose.yaml`. |
| `/var/lib/argoctl/ironic/` | root | Ironic's data: `shared/` (images, built ISOs, deploy logs), `mariadb/` (database). |
| `/var/lib/argoctl/ssh/id_ed25519` | root, 0600 | mgmt's provisioning SSH key; its public half is on every node. |
| `/var/lib/argoctl/cluster/` | root, 0700 | Cluster state: `inventory.json`, `vars.json`, `kubeadm/`, `ansible/`, `admin.conf` (0600), `state.json`, `last-report.json`. |
| `/var/lib/argoctl/inference/<namespace>/<name>/` | root, 0700 | Generated Helm values for each inference deployment. |
| `/var/log/argoctl/` | root, 0700 | Run logs of commands run as root. See [Run logs](https://argoctl-docs.pages.dev/docs/reference/logs). |
| `~/.local/state/argoctl/logs/` | user, 0700 | Run logs of commands run without root. |

## On nodes

| Path | What |
|---|---|
| `/etc/argoctl/kubeadm/` (0700) | kubeadm configuration and the `initialised` / `joined` markers. |
| `/etc/argoctl/cilium-values.json`, `/etc/argoctl/gpu-operator-values.json` (control plane) | Helm values. |
| `/opt/argoctl/helm-<version>/`, `/var/cache/argoctl/` (control plane) | Helm and downloaded charts. |
| `/etc/kubernetes/` | Kubernetes configuration, as kubeadm lays it out; `audit/policy.yaml` (control plane) is the API server's audit policy. |
| `/var/log/kubernetes/audit/` (control plane) | The API server's audit log. |
| `/var/lib/alloy/data/` | Where the log collector is up to in each log file. |
| `/var/lib/argoctl/models/` (GPU nodes) | Cached model weights, shared by inference deployments. |

Nodes are reached as `ubuntu` with mgmt's provisioning key; password login and root login are disabled.

## Ports

### On mgmt

| Port | Address | Used by | Who connects |
|---|---|---|---|
| 8780 | `mgmt.oob_ip`, `mgmt.provisioning_ip` | `argoctl preflight`, only while it runs | BMCs (image download), test image (report) |
| 6385 | `mgmt.provisioning_ip` | Ironic API | deploy agent, argoctl |
| 6180 | all | Ironic's httpd: deploy ISOs, agent, OS image | BMCs, deploy agent |
| 3306 | `127.0.0.1` | MariaDB | Ironic |

### On nodes

| Port | Where | Used by |
|---|---|---|
| 22 | every node | SSH from mgmt |
| 6443 | control plane | Kubernetes API server |
| 10250 | every node | kubelet |
| 2379-2380 | control plane | etcd |
| 4240, 8472/udp | every node | Cilium health checks and VXLAN overlay |
| 30000-32767 | every node | NodePort Services, including inference endpoints (default from 30080) |
| 8000 | inference pods | vLLM's OpenAI-compatible API (inside the cluster) |
| 3100 | `loki` Service in `monitoring` | Loki's HTTP API (inside the cluster; reach it with `kubectl port-forward`) |
