---
title: "Set Rightsizing Cluster configuration"
method: POST
path: "/ocean/{oceanId}/rightSizing/cluster/configuration"
tags: ["Ocean Automatic Rightsizing"]
---

# Set Rightsizing Cluster configuration

`POST /ocean/{oceanId}/rightSizing/cluster/configuration`

Set Cluster Configuration for the Ocean Cluster.
<br />
<br />
**This action can take a few minutes to complete.**

## Parameters

- `#/paths/~1ocean~1%7BoceanId%7D~1rightSizing~1rule/get/parameters/0` — unresolved $ref
- `#/paths/~1ocean~1%7BoceanId%7D~1rightSizing~1cluster~1configuration/get/parameters/1` — unresolved $ref
- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Request body

- object
  - `config` object, required
    - `recommendationsCpuPercentile` 85 | 90 | 95 | 99 — Change the cpu percentile that the right-sizing recommendations calculation will take into account.
    - `recommendationsMemoryPercentile` 85 | 90 | 95 | 100 — Change the memory percentile that the right-sizing recommendations calculation will take into account.
    - `downsideOnly` boolean — When set to 'true', only downscale recommendations will be applied.
    - `adjustLimitOnDownsize` boolean — When set to 'true', the limit will be adjusted when downscale recommendations are applied.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
