Ocean Automatic Rightsizing

Update Ocean Rightsizing Rule

Changed on
put/ocean/{oceanId}/rightSizing/rule/{ruleName}

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/ocean/{oceanId}/rightSizing/rule/{ruleName}
  • Auth
    HTTP bearer

Parameters

#/paths/~1ocean~1%7BoceanId%7D~1rightSizing~1rule/get/parameters/0 (unresolved $ref)
#/paths/~1ocean~1%7BoceanId%7D~1rightSizing~1rule~1%7BruleName%7D/get/parameters/1 (unresolved $ref)
#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)

Request body

restartReplicas'MORE_THAN_ONE_REPLICA' | 'ALL_MANIFEST' | 'NO_RESTART' | 'IN_PLACE_OR_RECREATE'

Enable to sequentially restart pod batches according to recommendations, for all pods, only more than 1 replica, or not any pod.

excludePreliminaryRecommendationsboolean

Exclude preliminary recommendations (recommendations based on less than 4 full days of data).

recommendationApplicationIntervalsItems[] required(unresolved $ref)

Determines the Ocean Rightsizing rule recommendation application intervals

recommendationApplicationMinThresholdRecommendationApplicationMinThreshold (unresolved $ref)
recommendationApplicationBoundariesRecommendationApplicationBoundaries (unresolved $ref)
recommendationApplicationOverheadValuesRecommendationApplicationOverheadValues (unresolved $ref)
recommendationApplicationHPARecommendationApplicationHPA (unresolved $ref)
autoApplyDefinitionAutoApplyDefinition (unresolved $ref)
cpuPercentileinteger

vCPU percentile for calculating recommendations.

memoryPercentileinteger

Memory percentile for calculating recommendations.

downsideOnlyboolean

When set to 'true', only downscale recommendations will be applied.

Changes

    • info

      added the new IN_PLACE_OR_RECREATE enum value to the request property /