Drop --token from the hand-started worker examples

The worker reads FLUKSIO_WORKER_TOKEN itself; on the command line the
token shows in ps. The --token row in the options table says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013GAeg4Jo6xjZzjwy9QDWMQ
This commit is contained in:
2026-10-07 09:35:00 +02:00
co-authored by Claude Opus 5.5
parent cb2a6315c9
commit 5eeeb08be4
8 changed files with 8 additions and 15 deletions
+3 -4
View File
@@ -161,11 +161,10 @@ nothing of yours, so a container is always this case.
`pip install fluksio-worker` into the environment the training code runs
in, and node code runs on it: `--python` defaults to the interpreter the
agent was started with.
agent was started with. It reads its token from `FLUKSIO_WORKER_TOKEN`.
```sh
fluksio worker --url ws://127.0.0.1:8000/api/v1/workers/attach \
--token "$WORKER_TOKEN" --labels gpu
fluksio worker --url ws://127.0.0.1:8000/api/v1/workers/attach --labels gpu
```
Then give the node `device="gpu"`; see [Remote workers](../code/workers.md).
@@ -469,7 +468,7 @@ alongside the store's own. `--dry-run` prints all of this and uploads nothing;
```sh
fluksio worker --url ws://127.0.0.1:8000/api/v1/workers/attach \
--token "$WORKER_TOKEN" --labels local --python "$(which python)"
--labels local --python "$(which python)"
```
Then give the node `device="local"`.