get_right_sizing
Get right-sizing suggestions for workloads in an Ocean cluster to reduce costs. Results sorted by savings potential, filterable by namespace, cloud provider, and limit.
Instructions
Get right-sizing resource suggestions for workloads in an Ocean cluster (AWS or Azure).
Results are sorted by savings potential (biggest CPU delta first) and truncated to limit.
Args: cluster_id: The Ocean cluster ID (e.g. o-abc12345) namespace: Optional namespace to filter suggestions account_id: Optional account ID to query. Defaults to SPOTINST_ACCOUNT_ID env var. cloud: Cloud provider: aws or azure (default: aws) limit: Max items to return, sorted by savings potential (default: 50). Set limit=0 for all results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | ||
| namespace | No | ||
| account_id | No | ||
| cloud | No | aws | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |