diff --git a/api/services/ocean/gke/schemas/ocean-strategy.yaml b/api/services/ocean/gke/schemas/ocean-strategy.yaml index 24fd8211..0412b68a 100644 --- a/api/services/ocean/gke/schemas/ocean-strategy.yaml +++ b/api/services/ocean/gke/schemas/ocean-strategy.yaml @@ -25,4 +25,22 @@ properties: type: boolean example: true description: > - Enable committed use discounts utilization. \ No newline at end of file + Enable committed use discounts utilization. + revertToPreferred: + type: object + description: > + Allow the replacement of instances to Preferred ones if available. + properties: + shouldPerform: + type: boolean + default: true + description: > + If enabled, replacements will be performed for all of your cluster, unless configured on VNG level. TRUE is the default + maxBatchPercentage: + type: integer + minimum: 0 + maximum: 100 + default: 10 + description: > + Decide on the % of instances that will be replaced at once + diff --git a/api/services/ocean/gke/schemas/oceanLaunchSpecStrategy.yaml b/api/services/ocean/gke/schemas/oceanLaunchSpecStrategy.yaml index 3db81226..87fb5585 100644 --- a/api/services/ocean/gke/schemas/oceanLaunchSpecStrategy.yaml +++ b/api/services/ocean/gke/schemas/oceanLaunchSpecStrategy.yaml @@ -17,3 +17,20 @@ properties: example: true description: > Enable committed use discounts utilization. + revertToPreferred: + type: object + description: > + Allow the replacement of instances to Preferred ones if available. + properties: + shouldPerform: + type: boolean + default: true + description: > + If enabled, replacements will be performed for your VNG. TRUE is the default + maxBatchPercentage: + type: integer + minimum: 0 + maximum: 100 + default: 10 + description: > + Decide on the % of instances that will be replaced at once