Client Environment Variables
The Scaleout Edge Python client can be configured through environment variables. These are defined in scaleout-util and apply when running a client via the Command-Line Interface (CLI) or the Python SDK.
Variable |
Default |
Description |
|---|---|---|
|
|
Directory where the client stores archived model checkpoints and artifacts. |
|
|
HTTP authentication scheme used in the |
|
(unset) |
URI endpoint used to refresh the access token. If unset, token refresh is disabled. |
|
(unset) |
Refresh token value used together with |
|
|
Whether to connect to the API over TLS ( |
|
(empty) |
URL prefix prepended to all API requests. Useful when the API is hosted under a sub-path. |
|
|
Directory where the client extracts the downloaded compute package. |
|
|
Whether the client handles gRPC disconnections gracefully and attempts reconnection ( |
|
|
Whether the client checks version compatibility with the server on connect ( |
|
|
Whether the client sends status updates to the server during commands ( |
|
|
Whether the client sends telemetry data, CPU and memory usage ( |
|
|
Interval in seconds between task polling requests from the client to the server. Lower values may reduce task start latency but increase API load. |
Usage example
Set variables before starting the client:
export SCALEOUT_PACKAGE_EXTRACT_DIR=/tmp/package
export SCALEOUT_CLIENT_TASK_POLLING_INTERVAL=10
export SCALEOUT_CONNECT_API_SECURE=false
scaleout client start --api-url <API_URL> --token <TOKEN>
$env:SCALEOUT_PACKAGE_EXTRACT_DIR="/tmp/package"
$env:SCALEOUT_CLIENT_TASK_POLLING_INTERVAL="10"
$env:SCALEOUT_CONNECT_API_SECURE="false"
scaleout client start --api-url <API_URL> --token <TOKEN>
set SCALEOUT_PACKAGE_EXTRACT_DIR=/tmp/package
set SCALEOUT_CLIENT_TASK_POLLING_INTERVAL=10
set SCALEOUT_CONNECT_API_SECURE=false
scaleout client start --api-url <API_URL> --token <TOKEN>
Note
Boolean variables accept true or false (case-insensitive).
See also
Command-Line Interface (CLI) for the full list of scaleout client commands.