diff --git a/api/services/ocean/rightsizing/responses/oceanRightsizingRule.yaml b/api/services/ocean/rightsizing/responses/oceanRightsizingRule.yaml index b2d85df7..cacbd799 100644 --- a/api/services/ocean/rightsizing/responses/oceanRightsizingRule.yaml +++ b/api/services/ocean/rightsizing/responses/oceanRightsizingRule.yaml @@ -37,6 +37,14 @@ properties: $ref: "../schemas/oceanRightsizingRuleRecommendationApplicationHPA.yaml" autoApplyDefinition: $ref: "../schemas/oceanRightsizingRuleAutoApplyDefinition.yaml" + cpuPercentile: + type: integer + description: vCPU percentile for calculating recommendations. + example: 95 + memoryPercentile: + type: integer + description: Memory percentile for calculating recommendations. + example: 90 downsideOnly: type: boolean description: When set to 'true', only downscale recommendations will be applied. diff --git a/api/services/ocean/rightsizing/schemas/oceanRightsizingRuleRequest.yaml b/api/services/ocean/rightsizing/schemas/oceanRightsizingRuleRequest.yaml index 3c2f3de0..27411ed6 100644 --- a/api/services/ocean/rightsizing/schemas/oceanRightsizingRuleRequest.yaml +++ b/api/services/ocean/rightsizing/schemas/oceanRightsizingRuleRequest.yaml @@ -37,6 +37,14 @@ properties: $ref: "../schemas/oceanRightsizingRuleRecommendationApplicationHPA.yaml" autoApplyDefinition: $ref: "../schemas/oceanRightsizingRuleAutoApplyDefinition.yaml" + cpuPercentile: + type: integer + description: vCPU percentile for calculating recommendations. + example: 95 + memoryPercentile: + type: integer + description: Memory percentile for calculating recommendations. + example: 90 downsideOnly: type: boolean description: When set to 'true', only downscale recommendations will be applied. diff --git a/api/services/ocean/rightsizing/schemas/oceanRightsizingUpdateRuleRequest.yaml b/api/services/ocean/rightsizing/schemas/oceanRightsizingUpdateRuleRequest.yaml index fd186421..5d2b6986 100644 --- a/api/services/ocean/rightsizing/schemas/oceanRightsizingUpdateRuleRequest.yaml +++ b/api/services/ocean/rightsizing/schemas/oceanRightsizingUpdateRuleRequest.yaml @@ -33,6 +33,14 @@ properties: $ref: "../schemas/oceanRightsizingRuleRecommendationApplicationHPA.yaml" autoApplyDefinition: $ref: "../schemas/oceanRightsizingRuleAutoApplyDefinition.yaml" + cpuPercentile: + type: integer + description: vCPU percentile for calculating recommendations. + example: 95 + memoryPercentile: + type: integer + description: Memory percentile for calculating recommendations. + example: 90 downsideOnly: type: boolean description: When set to 'true', only downscale recommendations will be applied.