Skip to content

Commit

Permalink
added revertToPreferred parameter for gcp ocean cluster and vng
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamarmamon committed Dec 12, 2024
1 parent c1d8730 commit 37ad42a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
20 changes: 19 additions & 1 deletion api/services/ocean/gke/schemas/ocean-strategy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,22 @@ properties:
type: boolean
example: true
description: >
Enable committed use discounts utilization.
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
17 changes: 17 additions & 0 deletions api/services/ocean/gke/schemas/oceanLaunchSpecStrategy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 37ad42a

Please sign in to comment.