Change the organization defaults
Change the organization defaults the flags name and keep the rest as they are.
--clear removes a default cap, and takes max-workers or max-gpus; repeat it or separate fields with commas. The change reaches every environment that inherits the cap at once; it does not restart running apps.
The API replaces the defaults as a whole, so this reads them and writes them back with the change. Do not run it while anyone else changes the defaults, in the CLI or the console: a change made between the read and the write is lost.
runware serverless environments defaults set [flags]
# cap every environment that sets no cap of its own at 10 workers
runware serverless environments defaults set --max-workers 10
# remove the default GPU cap
runware serverless environments defaults set --clear max-gpus
--clear strings Clear a setting: max-workers, max-gpus (repeatable)
-h, --help help for set
--max-gpus int32 GPU cap of an environment that sets none of its own
--max-workers int32 Worker cap of an environment that sets none of its own
--debug Show full debug output
-F, --format string CLI output format: table, json, yaml (default "table")
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
-v, --verbose Show request/response details
- runware serverless environments defaults - Manage the organization defaults environments inherit