update
dpsctl settings update Usage Guide
Update global DPS settings.
Usage
dpsctl settings updateFlags
Includes global dpsctl options.
--set value Setting to update (format: key=value). Can be specified multiple times.
--help, -h show helpExamples
Update Single Setting
$ dpsctl settings update --set prs_enabled=false
{
"status": {
"diag_msg": "Success",
"ok": true
},
"updated_settings": {
"prs_enabled": "false"
}
}Update Multiple Settings
$ dpsctl settings update --set prs_enabled=false --set metrics_interval_seconds=30
{
"status": {
"diag_msg": "Success",
"ok": true
},
"updated_settings": {
"metrics_interval_seconds": "30",
"prs_enabled": "false"
}
}Update PRS Headroom
Set the deployment-wide PRS headroom percentage, then read it back:
$ dpsctl settings update --set prs_headroom_percent=-15
{
"status": {
"diag_msg": "Success",
"ok": true
},
"updated_settings": {
"prs_headroom_percent": "-15"
}
}
$ dpsctl settings list | jq -r '.settings.prs_headroom_percent'
-15prs_headroom_percent must be a finite number from -50 through 100,
inclusive. Negative headroom is generally recommended for responsive PRS
steering, and -30 is the tested starting point for DPS 0.8.x. See Power
Reservation Steering
for the full tuning guidance and the meaning of negative, zero, and positive
values.
Notes
- Changes are persisted immediately unless otherwise noted
- Invalid setting names or values will result in an error
- Some settings may require specific formats (e.g., duration values like “30s”, “5m”)
- Use
dpsctl settings listto see current values before updating - A persisted
prs_headroom_percentoverrides the Helmdps.prs.headroomPercentdefault on subsequent server restarts until it is updated again - When
prs_enabledistrue, changing the effectiveprs_headroom_percenttriggers an asynchronous re-upsert of active PRS domains and does not require a server restart. A successful command confirms that the setting was stored; check the DPS server logs to confirm that the background PRS re-upsert completed. Writing the existing value is a no-op and produces no new re-upsert log