docs: describe the sglang endpoint behind caddy

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-29 00:18:15 +02:00
parent 9455c65f10
commit 37e06d090c
6 changed files with 35 additions and 21 deletions
+9 -7
View File
@@ -61,13 +61,15 @@ only be exercised as root.
`tests/container/rig.pl` runs the real `sglang-deploy.pl` as root inside a container
against a stub `PATH`: every command the script drives (`dnf`, `rpm`, `podman`,
`systemctl`, `curl`, `openssl`, `nginx`, `firewall-cmd`, `getsebool`, `lspci`) is a
stub that answers from a fixture, so a run is deterministic and needs no network and no
GPU. It covers the deploy end to end: the resolved image tag, the unit file, the nginx
configuration, the TLS certificate and its modes, the API key file, the SELinux
boolean, the firewall rule, the idempotent second run, the dry run, the uninstall, the
Radeon and MI300 paths, the offline and unpublished-tag failures, the argument
validation and the non-root refusal.
`systemctl`, `curl`, `openssl`, `caddy`, `tar`, `useradd`, `semodule`, `firewall-cmd`,
`getsebool`, `lspci`) is a stub that answers from a fixture, so a run is deterministic
and needs no network and no GPU. It covers the deploy end to end: the resolved image
tag, the unit file, the caddy drop-in and the main Caddyfile's import, the release
binary install for the hosts without a caddy package, the EPEL bootstrap on CentOS
Stream, the legacy nginx clean-up, the TLS certificate and its modes, the API key file,
the SELinux decisions, the firewall rule, the idempotent second run, the dry run, the
uninstall, the Radeon and MI300 paths, the offline and unpublished-tag failures, the
argument validation and the non-root refusal.
Prepare the platform image once, since the base images carry no Perl: