From f09e0ffc445cab4f22e1f8920b15cfe8f1cc110e Mon Sep 17 00:00:00 2001 From: stroblme Date: Mon, 5 Oct 2026 16:54:09 +0200 Subject: [PATCH] Spell the API host as api.${DOMAIN} in the worker and login examples --- docs/code/cli.md | 4 ++-- docs/code/workers.md | 4 ++-- docs/concepts/runs.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/code/cli.md b/docs/code/cli.md index 8b11e47..b9aa30b 100644 --- a/docs/code/cli.md +++ b/docs/code/cli.md @@ -231,7 +231,7 @@ agent's own parser: it is the same program `fluksio-worker` installs, so the two are interchangeable: ```sh -fluksio worker --url wss://api.fluksio.com/api/v1/workers/attach \ +fluksio worker --url wss://api.${DOMAIN}/api/v1/workers/attach \ --token "$FLUKSIO_WORKER_TOKEN" --labels gpu ``` @@ -246,7 +246,7 @@ which boots one inside the command instead. ### `fluksio login` ```sh -fluksio login --url https://api.fluksio.com +fluksio login --url https://api.${DOMAIN} ``` For an engine somewhere *else*. One you started yourself needs no login: diff --git a/docs/code/workers.md b/docs/code/workers.md index cb01a24..b25822d 100644 --- a/docs/code/workers.md +++ b/docs/code/workers.md @@ -15,7 +15,7 @@ backend across hosts, which it never should. pip install fluksio-worker fluksio-worker \ - --url wss://api.fluksio.com/api/v1/workers/attach \ + --url wss://api.${DOMAIN}/api/v1/workers/attach \ --token "$FLUKSIO_WORKER_TOKEN" \ --labels gpu,cuda12 \ --python /opt/torch-venv/bin/python @@ -187,7 +187,7 @@ Write the clusters into `provisioners.json` beside the flows: "name": "hpc", "login": "me@login.cluster", "ssh_key": "/secrets/hpc_ed25519", - "engine_url": "wss://api.fluksio.com/api/v1/workers/attach", + "engine_url": "wss://api.${DOMAIN}/api/v1/workers/attach", "max_idle_s": 300, "provision_timeout_s": 900, "profiles": [{ diff --git a/docs/concepts/runs.md b/docs/concepts/runs.md index 1221df0..e84e9af 100644 --- a/docs/concepts/runs.md +++ b/docs/concepts/runs.md @@ -269,7 +269,7 @@ curl -X POST $FLUKSIO/workers/tokens -d '{"name": "gpu-dev"}' # once, as an ad pip install fluksio-worker fluksio-worker \ - --url wss://api.fluksio.com/api/v1/workers/attach \ + --url wss://api.${DOMAIN}/api/v1/workers/attach \ --token "$FLUKSIO_WORKER_TOKEN" \ --labels gpu,cuda12 \ --python /opt/torch-venv/bin/python