Clarify node configuration in docs

This commit is contained in:
2025-10-16 21:50:06 +02:00
parent 9f3c01384b
commit e97ca727d1
3 changed files with 7 additions and 2 deletions

View File

@@ -261,7 +261,7 @@ nodes: # Node configuration map
```
**Node Configuration Fields:**
- `local_node`: Specifies which node in the `nodes` map represents the local node
- `local_node`: Specifies which node in the `nodes` map represents the local node. Must match exactly what other nodes call this node.
- `nodes`: Map of node configurations
- `address`: HTTP/HTTPS URL of the remote node (empty for local node)
- `api_key`: Management API key for authenticating with the remote node

View File

@@ -162,6 +162,7 @@ go build -o llamactl ./cmd/server
For deployments with remote nodes:
- Install llamactl on each node using any of the methods above
- Configure API keys for authentication between nodes
- Ensure node names are consistent across all configurations
## Verification

View File

@@ -143,7 +143,11 @@ This helps determine if the issue is with llamactl or with the underlying llama.
api_key: "secure-key" # Must match worker1's management key
```
2. **Test remote node connectivity:**
2. **Check node name consistency:**
- `local_node` on each node must match what other nodes call it
- Node names are case-sensitive
3. **Test remote node connectivity:**
```bash
curl -H "Authorization: Bearer remote-node-key" \
http://remote-node:8080/api/v1/instances