cluster-settings

Update cluster settings

Changed on
put/cluster-settings

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

schedulerProfile'optimize-utilization' | 'distribute-load'

Scheduler profile to use. Possible values:

  • optimize-utilization — when scheduling a pending VM to a worker, pick the busiest worker that can fit a VM first, falling back to less busier workers (this is the default behavior when no explicit scheduler profile is set)

  • distribute-load — when scheduling a pending VM to a worker, pick the least occupied worker that can fit a VM first, falling back to more busier workers

Example request

{
  "hostDirPolicies": [
    {
      "pathPrefix": "/Users/ci/src",
      "ro": true
    }
  ]
}

Response

Cluster settings were successfully updated

schedulerProfile'optimize-utilization' | 'distribute-load'

Scheduler profile to use. Possible values:

  • optimize-utilization — when scheduling a pending VM to a worker, pick the busiest worker that can fit a VM first, falling back to less busier workers (this is the default behavior when no explicit scheduler profile is set)

  • distribute-load — when scheduling a pending VM to a worker, pick the least occupied worker that can fit a VM first, falling back to more busier workers

Example response

{
  "hostDirPolicies": [
    {
      "pathPrefix": "/Users/ci/src",
      "ro": true
    }
  ]
}

Changes

    • breaking

      added required request body

    • info

      added the optional property to the response with the status

    • info

      the response's property default value was added for the status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status